Looks like the Standard Analyzer uses the LowerCaseFilter as one of its
filters.  This is the one that is converting everything to lower case.  If
you replace the StandardAnalyser with a different Analyzer you should be ok.

Dave
----- Original Message -----
From: "Landon Cox" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 11:28 AM
Subject: RE: QueryParser question - case-sensitivity


>
> Hi Otis,
>
> On both the indexing side and creation of the query parser, I'm using the
> StandardAnalyzer class.  Seems like it would be symmetrical w/r to case
> sensitivity, but it's apparently not related to the problem or it's a
> bug...I suspect the former.  I'll start looking at the source next.
Thanks,
>
> Landon
>
> |-----Original Message-----
> |From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
> |Sent: Thursday, May 09, 2002 11:24 AM
> |To: Lucene Users List
> |Subject: Re: QueryParser question - case-sensitivity
> |
> |
> |Wouldn't that be the Analzyer that you are using?
> |I don't have the source handy to check it for you, but look for
> |toLowerCase or some such, and you'll find who's messing with your
> |queries.
> |Replace that piece, and you'll keep your upper cases.
> |
> |Otis
>
>
> --
> 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