OpenSearch/docs/reference/search
Boaz Leskes 52ba407931
Expose sequence number and primary terms in search responses (#37639)
Users may require the sequence number and primary terms to perform optimistic concurrency control operations. Currently, you can get the sequence number via the `docvalues_fields` API but the primary term is not accessible because it is maintained by the `SeqNoFieldMapper` and the infrastructure can't find it. 

This commit adds a dedicated sub fetch phase to return both numbers that is connected to a new `seq_no_primary_term` parameter.
2019-01-23 09:01:58 +01:00
..
request Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
suggesters Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
count.asciidoc Deprecate types in count and msearch. (#35421) 2018-11-16 13:04:43 -08:00
explain.asciidoc Deprecate types in explain requests. (#35611) 2018-12-10 19:45:13 -08:00
field-caps.asciidoc In the field capabilities API, remove support for providing fields in the request body. (#30185) 2018-04-27 16:14:11 -07:00
multi-search.asciidoc Fix typo in multi-search.asciidoc (#37060) 2019-01-02 10:32:42 +01:00
profile.asciidoc [DOCS] Adds missing anchors for profile API 2018-12-18 15:20:19 -08:00
rank-eval.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
request-body.asciidoc Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
search-shards.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
search-template.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
search.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
suggesters.asciidoc [Docs] Emphazise suggest behaviour with missing query part (#35393) 2018-11-28 12:01:27 +01:00
uri-request.asciidoc Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
validate.asciidoc Deprecate types in validate query requests. (#35575) 2018-11-16 08:59:04 -08:00