lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Vink <ianv...@gmail.com>
Subject Re: field with single quote <baha'i> being split
Date Sat, 12 Sep 2009 20:01:27 GMT
I'm using Snowball as I have a dozen languages.

ian



On Sat, Sep 12, 2009 at 4:56 PM, AHMET ARSLAN <iorixxx@yahoo.com> wrote:

> > The problem is that when I construct a query in luke with
> > "religion:baha'i"
> > luke thinks it's 2 terms "baha" and "i"
>
> Which analyzer is used in query parsing? LetterTokenizer?
>
> > Is there a way to construct a query to make it search
> > <religion> with the
> > single term "baha'i" ?
>
> Using different analyzer (StandardAnalyzer for example) in queryparsing can
> do that.
>
> hope this helps.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message