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

Support search_type in Rank Evaluation API #48503

Closed
mekanixdk opened this issue Oct 25, 2019 · 1 comment · Fixed by #48542
Closed

Support search_type in Rank Evaluation API #48503

mekanixdk opened this issue Oct 25, 2019 · 1 comment · Fixed by #48542
Assignees
Labels
>enhancement :Search Relevance/Ranking Scoring, rescoring, rank evaluation. Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@mekanixdk
Copy link

The Rank Evaluation API could benefit from adding support for the search_type query string parameters.

I have a (small) set of identical documents that would score equally when using search_type=dfs_query_then_fetch but be "very" different when not.

This could impact the ranking and therefore the metric score as well. So when comparing different approaches to queries / analyzers it is hard to tell whether the differences in metric scores is caused by the different approaches or where the documents are stored.

One workaround is to ensure there is only 1 node, 1 shard and 0 replicas in your test setup.

@cbuescher cbuescher added :Search Relevance/Ranking Scoring, rescoring, rank evaluation. >enhancement labels Oct 25, 2019
@elasticmachine
Copy link
Collaborator

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

@cbuescher cbuescher self-assigned this Oct 25, 2019
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 25, 2019
Adding support for the `search_type` request parameter to the Ranking Evaluation
API since this parameter can impact the ranking and the metric score and should
be choosen in the same way when evaluating the search as later in the real
search.

Closes elastic#48503
cbuescher pushed a commit that referenced this issue Oct 29, 2019
Adding support for the `search_type` request parameter to the Ranking Evaluation
API since this parameter can impact the ranking and the metric score and should
be choosen in the same way when evaluating the search as later in the real
search.

Closes #48503
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 29, 2019
Adding support for the `search_type` request parameter to the Ranking Evaluation
API since this parameter can impact the ranking and the metric score and should
be choosen in the same way when evaluating the search as later in the real
search.

Closes elastic#48503
cbuescher pushed a commit that referenced this issue Oct 29, 2019
Adding support for the `search_type` request parameter to the Ranking Evaluation
API since this parameter can impact the ranking and the metric score and should
be choosen in the same way when evaluating the search as later in the real
search.

Closes #48503
@javanna javanna added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Relevance/Ranking Scoring, rescoring, rank evaluation. Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants