Le 23/07/2015 20:03, Kevin Smith a écrit :
=Misspellings=
Reducing to 1 char
the prefix length can hurt perfs and it's
certainly a good idea to do this in 2 passes as Erik suggested.
Yeah, I worry about performance with prefix=1—but we can test it in
small scale and see what it costs and how much it helps.
I had a look at the current mapping and it looks like (I have to
carefully check before) that there is two unused suggest fields
(title.suggest & redirect.title.suggest) in the index.
I think It's related to
https://gerrit.wikimedia.org/r/#/c/118650/ &
https://gerrit.wikimedia.org/r/#/c/118651/. I guess the old fields were
kept to switch back rapidly to the old config?
If we confirm that these fields are unused and prefix length is an issue
we could reclaim this unused space to add another suggest field with a
reverse filter.
This requires a reindex so it's worth checking if prefix is really an issue.