[6.x] [Infra UI] pass flag in request to force BWC hit count (#26517) (#26717)

Backports the following commits to 6.x:
 - [Infra UI] pass flag in request to force BWC hit count  (#26517)
This commit is contained in:
Felix Stürmer 2018-12-05 20:00:39 +01:00 committed by GitHub
parent 9f4717dac4
commit 7ed713e4b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@ export const checkValidNode = async (
): Promise<boolean> => {
const params = {
index: indexPattern,
rest_total_hits_as_int: true,
terminateAfter: 1,
body: {
size: 0,