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

How to connect with Elasticsearch #39

Open
laxmimerit opened this issue Aug 15, 2021 · 1 comment
Open

How to connect with Elasticsearch #39

laxmimerit opened this issue Aug 15, 2021 · 1 comment

Comments

@laxmimerit
Copy link

Hi,
I want to use this package with Elasticsearch LTR such that I can use ES rescore function while searching. How can I add this package in Elasticsearch?

@kretes
Copy link
Contributor

kretes commented Dec 23, 2021

I think your use case is a bit out of scope for this project. allrank contains ways to train/evaluate/infer using ranking models. If you want to use it in any production environment you need to export a model from allrank and then use it for predictions.
The exact way of integrating is more a question of elasticsearch - 'How to use an arbitrary pytorch model for ES rescoring'

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

No branches or pull requests

2 participants