lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Peixotto" <peixo...@geofolio.com>
Subject Re: QueryParser question - case-sensitivity
Date Thu, 09 May 2002 19:36:42 GMT
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" <lcox@interactive-media.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
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:otis_gospodnetic@yahoo.com]
> |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:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message