> I have a field with lowercase filter > on search and index sides, and > searching in this field works fine with uppercase or > lowercase terms, > except if I wildcard! So searching for 'gps' or 'GPS' > returns the same > result set, but searching for 'gps*' returns results as > expected and > searching for 'GPS*' returns nothing. It seems the > asterisk blocks the > lower case filter operation and then no matches occur > because the index > is all lowercased.
"Unlike other types of Lucene queries, Wildcard, Prefix, and Fuzzy queries are not passed through the Analyzer" [1] [1]http://wiki.apache.org/lucene-java/LuceneFAQ#Are_Wildcard.2C_Prefix.2C_and_Fuzzy_queries_case_sensitive.3F