OpenSearch/docs/reference/search/request
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
..
collapse.asciidoc [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
docvalue-fields.asciidoc Search: Support of wildcard on docvalue_fields (#32980) 2018-08-23 10:04:00 +02:00
explain.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
from-size.asciidoc Add CONSOLE to from/size docs 2016-05-18 11:54:41 +02:00
highlighters-internal.asciidoc Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
highlighting.asciidoc Remove `include_type_name` in asciidoc where possible (#37568) 2019-01-18 09:34:11 +01:00
index-boost.asciidoc Resolve index names in indices_boost 2016-12-11 21:41:49 +09:00
inner-hits.asciidoc Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
min-score.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
named-queries-and-filters.asciidoc Add indent 2016-05-19 09:33:29 +02:00
post-filter.asciidoc Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
preference.asciidoc Improve docs for search preferences (#32159) 2018-07-18 12:58:17 +01:00
query.asciidoc Add CONSOLE to several trivial search request docs. 2016-05-18 13:15:19 +02:00
rescore.asciidoc [Docs] Clarify accepted sort case (#31605) 2018-07-06 10:11:36 +02:00
script-fields.asciidoc [Docs] Fix script-fields snippet execution (#30693) 2018-05-22 20:22:42 +02:00
scroll.asciidoc Added soft limit to open scroll contexts #25244 (#36009) 2018-12-03 19:57:10 +01:00
search-after.asciidoc [Docs] Clarify search_after behavior 2018-11-30 14:30:23 +01:00
search-type.asciidoc Fix a grammatical error in the 'search types' documentation. 2018-05-22 22:09:04 -07:00
sort.asciidoc Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
source-filtering.asciidoc Fixed naming inconsistency for fields/stored_fields in the APIs (#20166) 2016-09-13 20:54:41 +02:00
stored-fields.asciidoc Remove usage of multi-types from the docs and added a page explaining type removal (#25543) 2017-07-05 12:30:19 +02:00
track-total-hits.asciidoc Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
version-and-seq-no.asciidoc Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00