--- "Basic percolation highlight query test": - do: indices.create: index: test_index - do: index: index: test_index type: .percolator id: test_percolator body: query: match: foo: bar - do: indices.refresh: {} - do: percolate: index: test_index type: test_type body: doc: foo: "bar foo" size: 1 highlight: fields: foo: highlight_query: match: foo: foo - match: {'total': 1}