OpenSearch/server
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
..
licenses Upgrade to lucene-8.0.0-snapshot-83f9835. (#37668) 2019-01-22 11:44:29 +01:00
src Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
build.gradle Testing conventions: add support for checking base classes (#36650) 2019-01-08 13:39:03 +02:00