Julian Davchev wrote:
Hi,
I am doing fuzzy search. And works correctly. For some reason though it
has problems with uppercase words.
e.g if I search moo~ I get results but if I do Moo~ I don't.
I see in analyzer that LowerCaseFilterFactory is hitting but I gess with
fuzzy it's getting messy.
Any clue someone?
Cheers
There is a setting on the Lucene QueryParser that controls whether
expanded terms get lowercased (they generally don't hit an analyzer). It
looks like the SolrQueryParser, which extends the Lucene QueryParser,
hardcodes the setting to false.
- Mark