My Solr setting contains a LowerCaseFilterFactory filter for indexing and queries, so - the index contains only lowercase words and - each query must be replaced in lowercase before being used for searches.
When performing a non-fuzzy search, such as "mix: barba", they work fine:
- Barba finds Barba and Barba
- Barba finds Barba and Barba
The problem is that as soon as I run fuzzy search queries, these filters seem to be bypassed:
- barba ~ 0.8 finds Barba and BARBA
- Barba ~ 0.8 does not find anything.
My interpretation of these results: when performing fuzzy searches, the query is no longer processed in lower case (therefore, lowercase queries already work fine, because the index is also lowercase, but uppercase queries can no longer match).
How can I prevent disabling fuzzy search LowerCaseFilterFactory?
Thank!
schema.xml (shortened to the most relevant parts): http://pastie.org/853448
source
share