finding matches for part words in SOLR
-
01-06-2021 - |
Question
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).
Solution
EdgeNGramFilterFactory would help only if the string was "sible@holmes.com" but NGramFilterFactory will get what you want with "holmes@sible.com" too.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow