How would you disable the ngramming of the query term: 
"match": {"username.ngram": "linus" 

the indexer: 
"tokenizer": {"customNgram": {"type": "nGram", "min_gram": 3, "max_gram": 
5} 

I don't want hits for lin, inu, nus as in Xinus but I do want hits for 
tlinustorvalds 

In other words - I don't what the query term "linus" to be broken down to 
[4-2]-grams

Thanks very much.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/196100e8-478c-4eb0-b285-68c3a59c0dbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to