mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 09:58:28 +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:
|
- do:
|
||||||
index:
|
index:
|
||||||
index: test
|
index: test
|
||||||
|
refresh: true
|
||||||
body:
|
body:
|
||||||
id: 1
|
|
||||||
"title" : "The quick brown fox is brown"
|
"title" : "The quick brown fox is brown"
|
||||||
"description" : "The quick pink panther is pink"
|
"description" : "The quick pink panther is pink"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
index: test
|
index: test
|
||||||
|
refresh: true
|
||||||
body:
|
body:
|
||||||
id: 2
|
|
||||||
"title" : "The quick blue fox is blue"
|
"title" : "The quick blue fox is blue"
|
||||||
"nested":
|
"nested":
|
||||||
- "title": "purple octopus"
|
- "title": "purple octopus"
|
||||||
- "title": "purple fish"
|
- "title": "purple fish"
|
||||||
|
|
||||||
- do:
|
|
||||||
indices.refresh: {}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
"Highlight query":
|
"Highlight query":
|
||||||
- do:
|
- do:
|
||||||
@ -75,7 +72,6 @@ setup:
|
|||||||
query:
|
query:
|
||||||
match:
|
match:
|
||||||
title: fox
|
title: fox
|
||||||
sort: ["id"]
|
|
||||||
highlight:
|
highlight:
|
||||||
type: fvh
|
type: fvh
|
||||||
fields:
|
fields:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user