OpenSearch/x-pack/plugin/ccr/qa
Jim Ferenczi 18866c4c0b
Make hits.total an object in the search response (#35849)
This commit changes the format of the `hits.total` in the search response to be an object with
a `value` and a `relation`. The `value` indicates the number of hits that match the query and the
`relation` indicates whether the number is accurate (in which case the relation is equals to `eq`)
or a lower bound of the total (in which case it is equals to `gte`).
This change also adds a parameter called `rest_total_hits_as_int` that can be used in the
search APIs to opt out from this change (retrieve the total hits as a number in the rest response).
Note that currently all search responses are accurate (`track_total_hits: true`) or they don't contain
`hits.total` (`track_total_hits: true`). We'll add a way to get a lower bound of the total hits in a
follow up (to allow numbers to be passed to `track_total_hits`).

Relates #33028
2018-12-05 19:49:06 +01:00
..
chain Refactor AutoFollowCoordinator to track leader indices per remote cluster (#36031) 2018-12-05 13:39:14 +01:00
multi-cluster [TEST] Increased timeout for verifying ccr monitoring. 2018-11-09 15:40:15 +01:00
multi-cluster-downgraded-to-basic-license Deprecate X-Pack centric license endpoints (#35959) 2018-11-28 08:24:35 -05:00
multi-cluster-with-non-compliant-license [CCR] Validate remote cluster license as part of put auto follow pattern api call (#35364) 2018-11-09 17:43:43 +01:00
multi-cluster-with-security [TEST] Increased timeout for verifying ccr monitoring. 2018-11-09 15:40:15 +01:00
rest [CCR] Change get autofollow patterns API response format (#36203) 2018-12-05 08:41:27 +01:00
src/main/java/org/elasticsearch/xpack/ccr Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
build.gradle Build: Pull "skip assemble on qa" to common build (#35214) 2018-11-05 16:16:00 -05:00