I'm not sure why ES is behaving like this. Here's my request:
And here's the response:
Does anyone know why
apple is turning into
BTW, I tried the same thing with
pineapple and it turns into
pineappl. Words like
encyclopedia come out just fine.
That's the effect of the english stemmer IMO.
Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-stemmer-tokenfilter.html
There are other options for the stemmer. If the default one does not fit your needs.
For background - stemming is used so that words like
meddles are all turned into
meddl in the index and can all match each other.
Not always useful though. I remember one situation where users were searching for Improvised Explosive Devices and the stemmer had turned all
IEDs into just
Interesting. I didn't realize that stemming would just lop off the part of the word that varies. I had expected it to normalize on the root word. The
meddle example makes sense. I'm trying to figure out what other words
apple shares a root with, other than
apples. I feel like stemming would make
apply share the same stem of
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.