lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: It seems like using a wildcard causes lowercase filter to not do the lowercasing?
Date Mon, 09 Aug 2010 20:27:55 GMT
> 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


      

Mime
View raw message