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

Improve document ranking when a query word is know to be exact #14

Closed
Kerollmops opened this issue Oct 19, 2018 · 1 comment
Closed
Labels
enhancement New feature or improvement

Comments

@Kerollmops
Copy link
Member

Currently the documents ranking doesn't seems to take into account the fact that a query word is at the end of the query or not. When a word is at the middle of a query or is not followed by a space this word is more likely to be finished/in its exact form.

For example if a user query "cat and dog" we must understand that the word "cat" is a finished word and documents containing the exact representation must be more interresting than documents contaning words starting with "cat" like "catalog" "catherine"...

This is already one of the criterion that is used by default but it is nearly the last criterion in the list (link to the code).

@Kerollmops Kerollmops added the enhancement New feature or improvement label Oct 19, 2018
@Kerollmops Kerollmops changed the title Improve document ranking when a qeury word is know to be exact Improve document ranking when a query word is know to be exact Oct 21, 2018
@Kerollmops
Copy link
Member Author

Kerollmops commented Dec 11, 2018

f05af4b

MarinPostma pushed a commit that referenced this issue Jul 1, 2020
Changed indexes creation to new doc version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant