he wildcard query. How can I make it not
do
that?
Thanks,
Peter
-----Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:03 PM
To: Lucene Users List
Subject: Re: wildcard uppercase
Just use an Analyzer that doesn't lowercase. That FAQ entry
Thanks Daniel, that worked.
Peter
-Original Message-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 4:06 PM
To: Lucene Users List
Subject: Re: wildcard uppercase
On Thursday 12 August 2004 22:30, Kipping, Peter wrote:
> As you can see it's be
Query q = QueryParser.parse(sr, "molecular_formula", pw);
> System.out.println(q.toString());
>
> I get this:
> molecular_formula:c9h10o5*
>
> As you can see it's been lower cased and I get no hits. Looks like
> something is lowercasing the
On Thursday 12 August 2004 22:30, Kipping, Peter wrote:
> As you can see it's been lower cased and I get no hits. ÂLooks like
> something is lowercasing the wildcard query. ÂHow can I make it not do
> that?
Try QueryParser's setLowercaseWildcardTerms(boolean).
Regards
Daniel
--
http://www.dan
tring());
I get this:
molecular_formula:c9h10o5*
As you can see it's been lower cased and I get no hits. Looks like
something is lowercasing the wildcard query. How can I make it not do
that?
Thanks,
Peter
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Thur
Just use an Analyzer that doesn't lowercase. That FAQ entry assumes
that the Analyzer does lowercase its input.
Searching IS case sensitive, it's just that people often use an
Analyzer that lowercases everything (at indexing and at query time), so
the search appears not to be case sensitive, and t