Skip to content

Commit

Permalink
Updating plugin readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Nov 5, 2024
1 parent 105e9b0 commit f5eba26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 14 additions & 2 deletions opensearch-search-quality-evaluation-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,20 @@ See the created job:
curl -s http://localhost:9200/search_quality_eval_scheduler/_search
```

See the judgments:
To run an on-demand job without scheduling:

```
curl -s http://localhost:9200/judgments/
curl -X POST "http://localhost:9200/_plugins/search_quality_eval/judgments?click_model=coec&max_rank=20" | jq
```

To see the job runs:

```
curl -X POST "http://localhost:9200/search_quality_eval_completed_jobs/_search" | jq
```

See the first 10 judgments:

```
curl -s http://localhost:9200/judgments/_search | jq
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.opensearch.action.support.WriteRequest;
import org.opensearch.client.Client;
import org.opensearch.cluster.service.ClusterService;
import org.opensearch.common.xcontent.json.JsonXContent;
import org.opensearch.core.action.ActionListener;
import org.opensearch.eval.judgments.clickmodel.coec.CoecClickModel;
import org.opensearch.eval.judgments.clickmodel.coec.CoecClickModelParameters;
Expand Down

0 comments on commit f5eba26

Please sign in to comment.