> 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
|