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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -