mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Ensure consistent hit order in fvh REST tests.
This commit is contained in:
parent
b2d3c3f6f9
commit
d707f26eb9
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user