update rest tests to expect default boost to be returned in warmer responses
This commit is contained in:
parent
7a209cc600
commit
4996b07205
|
@ -35,7 +35,7 @@ setup:
|
||||||
index: test_index
|
index: test_index
|
||||||
name: test_warmer
|
name: test_warmer
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.delete_warmer:
|
indices.delete_warmer:
|
||||||
|
@ -55,8 +55,8 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: {}
|
indices.get_warmer: {}
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -67,8 +67,8 @@ setup:
|
||||||
index: '*'
|
index: '*'
|
||||||
name: '*'
|
name: '*'
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"Getting warmers for several indices should work using _all":
|
"Getting warmers for several indices should work using _all":
|
||||||
|
@ -78,8 +78,8 @@ setup:
|
||||||
index: _all
|
index: _all
|
||||||
name: _all
|
name: _all
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"Getting all warmers without specifying index should work":
|
"Getting all warmers without specifying index should work":
|
||||||
|
@ -88,8 +88,8 @@ setup:
|
||||||
indices.get_warmer:
|
indices.get_warmer:
|
||||||
name: _all
|
name: _all
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"Getting warmers for several indices should work using prefix*":
|
"Getting warmers for several indices should work using prefix*":
|
||||||
|
@ -99,8 +99,8 @@ setup:
|
||||||
index: test_i*
|
index: test_i*
|
||||||
name: test_w*
|
name: test_w*
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"Getting warmers for several indices should work using comma-separated lists":
|
"Getting warmers for several indices should work using comma-separated lists":
|
||||||
|
@ -110,8 +110,8 @@ setup:
|
||||||
index: test_index,test_idx
|
index: test_index,test_idx
|
||||||
name: test_warmer,test_warmer2
|
name: test_warmer,test_warmer2
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {}}
|
- match: {test_idx.warmers.test_warmer2.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"Getting a non-existent warmer on an existing index should return an empty body":
|
"Getting a non-existent warmer on an existing index should return an empty body":
|
||||||
|
@ -131,7 +131,7 @@ setup:
|
||||||
index: test_index
|
index: test_index
|
||||||
name: test_warmer,non-existent
|
name: test_warmer,non-existent
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
- is_false: test_index.warmers.non-existent
|
- is_false: test_index.warmers.non-existent
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -26,5 +26,5 @@
|
||||||
indices.get_warmer:
|
indices.get_warmer:
|
||||||
index: test_alias
|
index: test_alias
|
||||||
|
|
||||||
- match: {test_index.warmers.test_warmer.source.query.match_all: {}}
|
- match: {test_index.warmers.test_warmer.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,8 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- is_false: foo
|
- is_false: foo
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -54,9 +54,9 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {foo.warmers.warmer.source.query.match_all: {}}
|
- match: {foo.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"put warmer in * index":
|
"put warmer in * index":
|
||||||
|
@ -70,9 +70,9 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {foo.warmers.warmer.source.query.match_all: {}}
|
- match: {foo.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"put warmer prefix* index":
|
"put warmer prefix* index":
|
||||||
|
@ -86,8 +86,8 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- is_false: foo
|
- is_false: foo
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -102,8 +102,8 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- is_false: foo
|
- is_false: foo
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -117,9 +117,9 @@ setup:
|
||||||
- do:
|
- do:
|
||||||
indices.get_warmer: { index: _all, name: '*' }
|
indices.get_warmer: { index: _all, name: '*' }
|
||||||
|
|
||||||
- match: {test_index1.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index1.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {test_index2.warmers.warmer.source.query.match_all: {}}
|
- match: {test_index2.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
- match: {foo.warmers.warmer.source.query.match_all: {}}
|
- match: {foo.warmers.warmer.source.query.match_all: {boost=1.0}}
|
||||||
|
|
||||||
---
|
---
|
||||||
"put warmer with missing name":
|
"put warmer with missing name":
|
||||||
|
|
Loading…
Reference in New Issue