-
Notifications
You must be signed in to change notification settings - Fork 369
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
A new feature for using the first phase scores in the second phase in the Ltr query #11
Comments
I looked into this as well previously, and the limitations of elasticsearch of only being able to specify a Query implementation in the rescorer makes this difficult. One method might be to upstream something into elasticsearch such as a |
@nomoa I wonder if your depth in ES plugins if you've had any thoughts about this? |
This will have to wait elastic 6.1, they added the possibility to implement our own rescorer. Without this it's impossible to access the first pass query score. |
Hi all, |
I haven't had time to work on this, I'd be happy to help and review some code if someone is willing to send a PR implementing this feature. |
I would love to get started on implementing this feature. I will inform you about it in the future. 👍 |
Hi all, |
I worked on the first steps (see #204) which add a custom rescore context to the plugin. The next steps would be to build another feature type that'd be controlled by this new rescore context so that initial score can be made available to the ltr logic.
I think this would help to move this forward. |
Hi all,
I think it would be a good feature to be able to use first phase query scores as a feature in the Ltr query. Solr Ltr integration has this feature, called OriginalScoreFeature, specially designed for this purpose. It seems that they have achieved this by customizing the QueryRescorer in Solr and passing this info as DocInfo. However, in elasticsearch, it does not seem to be able to customize QueryRescorer.
regards
Rifat
The text was updated successfully, but these errors were encountered: