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

Create integration tests for match_phrase score behavior #445

Open
orangejulius opened this issue Jun 10, 2020 · 0 comments
Open

Create integration tests for match_phrase score behavior #445

orangejulius opened this issue Jun 10, 2020 · 0 comments

Comments

@orangejulius
Copy link
Member

Despite having used the Elasticsearch match_phrase query for years, we actually don't know much about the details of its scoring.

In particular, does slop have any impact on the score? For example, consider the query main street and two documents with values main street and street main.

With slop: 1, both documents will match the query. But do they get the same score? If they do, then setting high slop values is totally fine. Documents with "better" matches will naturally be scored higher. If they don't, then match_phrase queries are a little harder to work with out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant