Hi,
I am using StandardAnalyzer - the problem was with wildcard queries being
case sensitive. Even with Standard Analyzer, you have to worry about case
sensitivity in this case. Thanks for the tip on example Analyzer, I will
take a peek.

-----Original Message-----
From: Joshua O'Madadhain [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:40 PM
To: Lucene Users List
Subject: RE: Case Sensitivity


Alan, Aruna:

The built-in solution is to use LowerCaseFilter in your Analyzer.  (The
SimpleAnalyzer, StopAnalyzer, and StandardAnalyzer classes already do
this; see the Lucene API docs to see which filters each uses.)  The FAQ
includes an example implementation of an Analyzer if you want to build
your own.

Joshua

 [EMAIL PROTECTED] Per Obscurius...www.ics.uci.edu/~jmadden
    Joshua Madden: Information Scientist, Musician, Philosopher-At-Tall
 It's that moment of dawning comprehension that I live for--Bill Watterson
My opinions are too rational and insightful to be those of any organization.

On Wed, 3 Apr 2002, Aruna Raghavan wrote:

> Hi,
> I worked around the problem by converting everything to lowercase in my
code
> prior to indexing into lucene and also prior to searching for a string.
> Ofcourse, I also had to use pattern matching to change bool operators such
> as ANDs and ORs to uppercase again because lucene expects those to be
> uppercase.
> 
> -----Original Message-----
> From: Alan Weissman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 1:26 PM
> To: Lucene Users List
> Subject: Case Sensitivity
> 
> 
> What can I do to configure Lucene to make in case insensitive? 
> 
> Thanks,
> Alan
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to