Hi, someone can help me with it??
I need do a search to locate a phrase inside text, but, I need locate this
phrase on texts like that:
'John Mail' <- phrase I want locate
' Good Morning John Mail how are you? ' < I need find this phrase here
' Good MorningJohn Mail how are you? ' < here too
' Good
try to use the lucene wildcard. *John*Mail*
The analyzer is just how you want the segment terms on your index. the
query parser is how you tokenize the terms that that you want to query
against the index (something like that). But lucene allows you use the wild
card to handle with "other cases" th
The word delimiter filter can help for "MorningJohn" by setting its option
to split on case change.
You might be able to handle "Mailhow" using the
DictionaryCompoundWordTokenFilter, but that requires that you create a
complete dictionary of terms that can split off. That's not very practical.