mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
[ESQL] Fix match phrase tests not being deterministic (#129724)
Closes https://github.com/elastic/elasticsearch/issues/129676
This commit is contained in:
parent
0dba16384e
commit
2b8d9df0ef
2 changed files with 6 additions and 7 deletions
|
@ -565,9 +565,6 @@ tests:
|
||||||
- class: org.elasticsearch.test.apmintegration.TracesApmIT
|
- class: org.elasticsearch.test.apmintegration.TracesApmIT
|
||||||
method: testApmIntegration
|
method: testApmIntegration
|
||||||
issue: https://github.com/elastic/elasticsearch/issues/129651
|
issue: https://github.com/elastic/elasticsearch/issues/129651
|
||||||
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
|
|
||||||
method: test {scoring.TestMatchPhraseWithScoreBoost ASYNC}
|
|
||||||
issue: https://github.com/elastic/elasticsearch/issues/129676
|
|
||||||
- class: org.elasticsearch.search.query.RescoreKnnVectorQueryIT
|
- class: org.elasticsearch.search.query.RescoreKnnVectorQueryIT
|
||||||
method: testKnnSearchRescore
|
method: testKnnSearchRescore
|
||||||
issue: https://github.com/elastic/elasticsearch/issues/129713
|
issue: https://github.com/elastic/elasticsearch/issues/129713
|
||||||
|
|
|
@ -567,6 +567,7 @@ required_capability: metadata_score
|
||||||
from books metadata _score
|
from books metadata _score
|
||||||
| where match_phrase(title, "J. R. R. Tolkien")
|
| where match_phrase(title, "J. R. R. Tolkien")
|
||||||
| keep book_no, title, author, _score
|
| keep book_no, title, author, _score
|
||||||
|
| sort _score desc
|
||||||
;
|
;
|
||||||
|
|
||||||
book_no:keyword | title:text | author:text | _score:double
|
book_no:keyword | title:text | author:text | _score:double
|
||||||
|
@ -580,6 +581,7 @@ required_capability: match_phrase_function
|
||||||
from books metadata _score
|
from books metadata _score
|
||||||
| where match_phrase(title, "J. R. R. Tolkien", {"boost": 5})
|
| where match_phrase(title, "J. R. R. Tolkien", {"boost": 5})
|
||||||
| keep book_no, title, author, _score
|
| keep book_no, title, author, _score
|
||||||
|
| sort _score desc
|
||||||
;
|
;
|
||||||
|
|
||||||
book_no:keyword | title:text | author:text | _score:double
|
book_no:keyword | title:text | author:text | _score:double
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue