Ensure consistent hit order in fvh REST tests.

This commit is contained in:
Julie Tibshirani 2020-12-09 17:49:29 -08:00
parent b2d3c3f6f9
commit d707f26eb9

View File

@ -22,24 +22,21 @@ setup:
- do:
index:
index: test
refresh: true
body:
id: 1
"title" : "The quick brown fox is brown"
"description" : "The quick pink panther is pink"
- do:
index:
index: test
refresh: true
body:
id: 2
"title" : "The quick blue fox is blue"
"nested":
- "title": "purple octopus"
- "title": "purple fish"
- do:
indices.refresh: {}
---
"Highlight query":
- do:
@ -75,7 +72,6 @@ setup:
query:
match:
title: fox
sort: ["id"]
highlight:
type: fvh
fields: