-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
disable field norms #476
base: master
Are you sure you want to change the base?
disable field norms #476
Conversation
Some examples of improvements, in both cases the more popular, yet wordier names are now being scored higher than the exact matching or succinct names.
More testing to come... |
So surprisingly the testing was fairly favourable, as expected it had the positive effect of fixing the field length scoring discrepancy introduced by adding aliases, and produced better sorting in many autocomplete cases with few regressions there. For While this is kinda what I thought we wanted (because the USA result has a higher population). Upon reflection I don't think this is the behaviour we want from the My current thesis:
I've pushed a second commit which only sets |
I put the newer build on dev (this is the build which only disabled norms on the This is pretty much what I was suspecting because the ngram indices are usually only used for the last token entered, so the 'damage has been done' already by that point. |
this DRAFT PR isn't meant to be merged, I'm just curious as to what a planet build would look like with
norms: false
on all the fields.it's been a while since we last looked at this in #323
I suspect that since setting
norms: false
will disable 'field length', it will:the thing I'm curious about is how much effect the second point has in practice, there is actually an integration test which regresses as part of this commit but I suspect that
population
/popularity
scoring may, to some degree, resolve some of the exact matching issues.my hope it that it shows that this could potentially be workable, although I'm not willing to bet on it 😆
see: http://makble.com/what-is-lucene-norms