OpenSearch/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
..
ccs-unavailable-clusters Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
die-with-dignity Refactor Netty4Utils#maybeDie (#33021) 2018-08-22 10:18:07 -04:00
evil-tests Handle OS pretty name on old OS without OS release (#35453) 2018-11-12 19:31:12 -05:00
full-cluster-restart Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
mixed-cluster Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
multi-cluster-search Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
no-bootstrap-tests Plugins: Remove meta plugins (#30670) 2018-05-18 10:56:08 -07:00
rolling-upgrade Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
smoke-test-client Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
smoke-test-http Remove `MockTcpTransport` for ESIntegTestCase (#36089) 2018-11-30 09:04:51 -07:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
smoke-test-multinode QA: System property to override distribution (#30591) 2018-05-15 17:16:16 -04:00
smoke-test-plugins Move repository-s3 fixture tests to QA test project (#29372) 2018-04-27 16:49:06 +02:00
unconfigured-node-name Core: Default node.name to the hostname (#33677) 2018-09-19 15:21:29 -04:00
vagrant Fix error message when package install fails due to missing Java (#36077) 2018-12-03 10:43:36 +02:00
verify-version-constants Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
wildfly Upgrade to Gradle 5.0 (#34263) 2018-12-05 14:06:11 +02:00
build.gradle QA: Fix resolution of default distribution (#31351) 2018-06-14 18:25:47 -04:00