From 86ae7118fdf5f390fda0bafc3b9f9b97f119e26e Mon Sep 17 00:00:00 2001 From: jzonthemtn <jeff.zemerick@mtnfog.com> Date: Tue, 5 Nov 2024 09:53:10 -0500 Subject: [PATCH] Updating curl requests. --- opensearch-search-quality-evaluation-plugin/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opensearch-search-quality-evaluation-plugin/README.md b/opensearch-search-quality-evaluation-plugin/README.md index f992b6b..9bd8012 100644 --- a/opensearch-search-quality-evaluation-plugin/README.md +++ b/opensearch-search-quality-evaluation-plugin/README.md @@ -32,13 +32,13 @@ opensearch search-quality-evaluation-plugin 2.17.1.0-SNAPSHOT To create a schedule to generate implicit judgments: ``` -curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/judgments?id=1&index=ubi&job_name=test2&interval=1" +curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/schedule?id=1&click_model=coec&job_name=test&interval=60" | jq ``` See the created job: ``` -curl -s http://localhost:9200/search_quality_eval_scheduler/_search +curl -s http://localhost:9200/search_quality_eval_scheduled_jobs/_search | jq ``` To run an on-demand job without scheduling: