Why are Solr filters disabled when performing fuzzy searches?

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

+3
source share
1 answer

Look at here. I had the same problem: SOLR - search for capitalized wildcards

+3
source

Source: https://habr.com/ru/post/1735430/


All Articles