0

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).

Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278

1 Answers1

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