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

Add ranking parameters to search in command line interface #3

Open
jldevezas opened this issue Feb 5, 2018 · 1 comment
Open

Add ranking parameters to search in command line interface #3

jldevezas opened this issue Feb 5, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jldevezas
Copy link
Contributor

This can either be passed using:

  • The command line argument --params=par1:xpto,par2:coisa;
  • Or a properties file passed through --params=bm25.properties.

Where bm25.properties contains:

k1=1.2
b=0.75
@jldevezas jldevezas added the enhancement New feature or request label Feb 5, 2018
@jldevezas jldevezas self-assigned this Feb 5, 2018
@jldevezas
Copy link
Contributor Author

We should also add this to the new interactive query mode, for example using:

\ranking bm25

And setting parameters using:

\set k1 1.2
\set b 0.75

Also a reset to default parameters would be nice. Maybe simply use \unset?

\unset k1
\unset b

@jldevezas jldevezas changed the title Add ranking parameters to search in command line interface. Add ranking parameters to search in command line interface Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant