symfony - ElasticSearch "Word in Word" Tokenizer/Filter -


i'm using snowball analyzer find product called "cherries" if search "cherry". works charm, want able search "word in words".

for example, if search "berries", server should find "cranberries", "blackberries", , on. same result should occur "berry".

which filter/tokenizer have use this? i'm new elasticsearch.

this config now:

settings:     index:         analysis:             analyzer:                 index_analyzer:                     type: "snowball"                     language: english 

i used ngram tokenizer that.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -