-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding todo for shortcircuit in PPTSS.
Signed-off-by: jzonthemtn <[email protected]>
- Loading branch information
1 parent
5e388bb
commit d62ca4d
Showing
4 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
11 changes: 2 additions & 9 deletions
11
opensearch-search-quality-evaluation-plugin/scripts/create-query-set-no-sampling.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
#!/bin/bash -e | ||
|
||
#QUERY_SET=`curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/queryset?name=test&description=fake&sampling=pptss" | jq .query_set | tr -d '"'` | ||
curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/queryset?name=test&description=fake&sampling=none&query_set_size=500" | ||
|
||
#echo ${QUERY_SET} | ||
|
||
#curl -s http://localhost:9200/search_quality_eval_query_sets/_search | jq | ||
|
||
# Run the query set now. | ||
#curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/run?id=${QUERY_SET}" | jq | ||
curl -s -X DELETE "http://localhost:9200/search_quality_eval_query_sets" | ||
|
||
curl -s -X POST "http://localhost:9200/_plugins/search_quality_eval/queryset?name=test&description=fake&sampling=none&query_set_size=10" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters