Aha, I overlooked that.  Thank you.

-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: Monday, August 09, 2010 1:28 PM
To: solr-user@lucene.apache.org
Subject: Re: It seems like using a wildcard causes lowercase filter to not do 
the lowercasing?

> 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


      

Reply via email to