Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failure in fvh REST tests related to hit order #66192

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

jtibshirani
Copy link
Contributor

In general, we can't guarantee that a match_all query will return documents in
the order they were indexed. This PR adds an ID to each document to avoid
relying on document order.

Fixes #66147.

In general, we can't guarantee that a match_all query will return documents in
the order they were indexed. This PR adds an ID to each document to avoid
relying on document order.
@jtibshirani jtibshirani added :Search Relevance/Highlighting How a query matched a document >test-failure Triaged test failures from CI v8.0.0 v7.11.0 v7.10.2 labels Dec 10, 2020
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Dec 10, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@jtibshirani jtibshirani changed the title Fix failure in fvh REST tests. Fix failure in fvh REST tests related to hit order Dec 10, 2020
Copy link
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jtibshirani Thanks, LGTM

@jtibshirani jtibshirani merged commit 6bc56d1 into elastic:master Dec 15, 2020
@jtibshirani jtibshirani deleted the fvh-tests branch December 15, 2020 19:28
jtibshirani added a commit that referenced this pull request Dec 15, 2020
In general, we can't guarantee that a match_all query will return documents in
the order they were indexed. This PR adds an ID to each document to avoid
relying on document order.
jtibshirani added a commit that referenced this pull request Dec 15, 2020
In general, we can't guarantee that a match_all query will return documents in
the order they were indexed. This PR adds an ID to each document to avoid
relying on document order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search Relevance/Highlighting How a query matched a document Team:Search Meta label for search team >test-failure Triaged test failures from CI v7.10.2 v7.11.0 v8.0.0-alpha1
Projects
None yet
4 participants