OpenSearch/docs/reference/aggregations
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
..
bucket Remove more include_type_name and types from docs (#37601) 2019-01-18 14:11:18 +01:00
matrix Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
metrics Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
pipeline [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
bucket.asciidoc Add parent-aggregation to parent-join module (#34210) 2018-11-08 14:13:00 +01:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc median absolute deviation agg (#34482) 2018-10-30 07:22:52 -07:00
misc.asciidoc Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
pipeline.asciidoc Add a MovingFunction pipeline aggregation, deprecate MovingAvg agg (#29594) 2018-05-16 10:57:00 -04:00