You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Manfred Schäfer <ms...@bouncy.com> on 2001/11/23 19:30:20 UTC
Prefix query case sensitiv
Hi,
prefix query seems to be working only with lowercase words.
Example:
indexed word = Albanien
alb* finds word
Alb* doesn't find word
I'm using StopAnalyzer().
manfred
--
Manfred Schäfer
Application Development
_______________________________________________________________________
Bouncy*Bytes Software GmbH
Hofgut Bayerseich
Darmstaedter Landstrasse 64
D-63329 Egelsbach
Germany
Tel.: ++49 - (0) 61 03 - 70 65 6-0
Fax : ++49 - (0) 61 03 - 70 65 6-15
info@bouncy.com
http://www.bouncy.com
synformation.com(R) Web-Content-Management-System
Synergize your information.
________________________________________________________________________
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Prefix query case sensitiv
Posted by Manfred Schäfer <ms...@bouncy.com>.
Hi,
As supposed in an earlier message i've done an toLowerCase to the query-text to
enable case-insensitive prefix queries. Unfortunatly this disables boolean
searches :-(. As a workaround i've written some code to make 'and' and 'or' -
words in the query text uppercase again. Not really elegant, but working.
manfred
--
Manfred Schäfer
Application Development
_______________________________________________________________________
Bouncy*Bytes Software GmbH
Hofgut Bayerseich
Darmstaedter Landstrasse 64
D-63329 Egelsbach
Germany
Tel.: ++49 - (0) 61 03 - 70 65 6-0
Fax : ++49 - (0) 61 03 - 70 65 6-15
info@bouncy.com
http://www.bouncy.com
synformation.com(R) Web-Content-Management-System
Synergize your information.
________________________________________________________________________
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Prefix query case sensitiv
Posted by Manfred Schäfer <ms...@bouncy.com>.
Sorry,
i'm very sorry for writing mail first, looking archive then. Please forgive me.
manfred
Manfred Schäfer wrote:
> Hi,
>
> prefix query seems to be working only with lowercase words.
>
> Example:
>
> indexed word = Albanien
>
> alb* finds word
> Alb* doesn't find word
>
> I'm using StopAnalyzer().
>
> manfred
>
> --
> Manfred Schäfer
> Application Development
> _______________________________________________________________________
>
> Bouncy*Bytes Software GmbH
> Hofgut Bayerseich
> Darmstaedter Landstrasse 64
> D-63329 Egelsbach
> Germany
> Tel.: ++49 - (0) 61 03 - 70 65 6-0
> Fax : ++49 - (0) 61 03 - 70 65 6-15
> info@bouncy.com
> http://www.bouncy.com
>
> synformation.com(R) Web-Content-Management-System
> Synergize your information.
> ________________________________________________________________________
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Manfred Schäfer
Application Development
_______________________________________________________________________
Bouncy*Bytes Software GmbH
Hofgut Bayerseich
Darmstaedter Landstrasse 64
D-63329 Egelsbach
Germany
Tel.: ++49 - (0) 61 03 - 70 65 6-0
Fax : ++49 - (0) 61 03 - 70 65 6-15
info@bouncy.com
http://www.bouncy.com
synformation.com(R) Web-Content-Management-System
Synergize your information.
________________________________________________________________________
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>