lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas" <mike.kl...@gmail.com>
Subject Re: How to make string fields (solr.StrField) case insensitive for search?
Date Fri, 02 Feb 2007 19:33:44 GMT
On 2/2/07, Przemysław Brzozowski <brzozek@interia.pl> wrote:

> Does anyone know how to make string fields (solr.StrField) case
> insensitive for searching?

Yep.  Switch it to a solr.TextField and use
solr.LowerCaseAnalyzerFactory.  StrField will not work for anything
other than exact matching.

-Mike
Mime
View raw message