lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AHMET ARSLAN <iori...@yahoo.com>
Subject Re: field with single quote <baha'i> being split
Date Sat, 12 Sep 2009 19:56:31 GMT
> 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
View raw message