Why are Solr Filters disable bypassed when doing a fuzzy searches?
My Solr setup contains the Filter LowerCaseFilterFactory for indexing and querying, so
- the index only contains lowercase words and - every query is supposed to be turned lowercase before used for searching.When doing a non-fuzzy search like "mix:barba", they are working fine:
- barba finds Barba and BARBA - Barba finds Barba and BARBAProblem is, as soon as I do fuzzy searches, those Filters seem bypassed:
- barba~0.8 finds Barba and BARBA - Barba~0.8 finds nothing.My interpretion of those results: when doing fuzzy searches, the query is not turned lowercase anymore (so already lowercase queries work fine because the index is also lowercase, but uppercase queries cannot match anything anymore).
How can I prevent fuzzy search from turning off LowerCaseFilterFactory?
Thanks!
schema.xml (shortened 开发者_StackOverflow社区to the most relevant parts): http://pastie.org/853448
Look here. I had the same problem: SOLR - wildcard search with capital letter
精彩评论