I have a field with value of "holmes@sible.com"
I want get back this field If I search for "sible".
I use ngrams filter, which would help only if the string was "sible@holmes.com"
Which filters/tokenizers should I use for such a thing (pretty much the LIKE in sql).
Asked
Active
Viewed 98 times
0

Itay Moav -Malimovka
- 52,579
- 61
- 190
- 278
-
Should it match if you search for "sib"? – Xodarap Apr 17 '12 at 16:26
-
yes, it should, although three letters is the smallest token – Itay Moav -Malimovka Apr 17 '12 at 16:47
1 Answers
3
EdgeNGramFilterFactory would help only if the string was "sible@holmes.com" but NGramFilterFactory will get what you want with "holmes@sible.com" too.

Persimmonium
- 15,593
- 11
- 47
- 78