Mailing List Archive

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: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Prefix query case sensitiv [ In reply to ]
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: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:lucene-user-help@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: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: Prefix query case sensitiv [ In reply to ]
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: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>