diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-12-17 21:03:43 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-12-17 21:03:43 -0800 |
commit | dc290a5d51b344633df2a3bd4be2171c72d009a3 (patch) | |
tree | cba812982f8d35173dd9c6d92a65fa83743093be /tests | |
parent | 968c29f11734bbb3eb7dc8163c879d6eba8e3e5e (diff) | |
download | es-public-proxy-dc290a5d51b344633df2a3bd4be2171c72d009a3.tar.gz es-public-proxy-dc290a5d51b344633df2a3bd4be2171c72d009a3.zip |
real-world scroll query example
Diffstat (limited to 'tests')
-rw-r--r-- | tests/files/search/POST_search_fatcat_scroll.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/files/search/POST_search_fatcat_scroll.txt b/tests/files/search/POST_search_fatcat_scroll.txt new file mode 100644 index 0000000..f60f6d3 --- /dev/null +++ b/tests/files/search/POST_search_fatcat_scroll.txt @@ -0,0 +1,2 @@ +POST /fatcat_release/_search?scroll=5m&size=1000 +{ "query": { "bool": { "filter": [ { "term": { "in_ia": false } }, { "term": { "is_oa": true } }, { "bool": { "must_not": [ { "terms": { "release_type": [ "stub", "component" ] } } ] } } ], "must": [ { "query_string": { "query": "webcapture_count:0 container_id:ugbiirfvufgcjkx33r3cmemcuu", "default_operator": "AND", "analyze_wildcard": true, "lenient": true, "fields": [ "title^5", "contrib_names^2", "container_title" ] } } ] } }, "sort": "_doc" } |