Skip to content

Commit

Permalink
Ensure consistent hit order in fvh REST tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Dec 10, 2020
1 parent b2d3c3f commit d707f26
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -75,7 +72,6 @@ setup:
query:
match:
title: fox
sort: ["id"]
highlight:
type: fvh
fields:
Expand Down

0 comments on commit d707f26

Please sign in to comment.