Another possible factor, if you are using omitTf feature, it causes
phrase query doesn't work.
Koji
Ian Lea wrote:
What does query.toString() say? Are you using standard analyzers with
standard lowercasing, stop words etc?
Knocking up a very simple program/index that demonstrates the problem
usually helps: either it will work and help you spot the problem with
your existing code, or if you post it here someone will spot the
problem.
--
Ian.
On Mon, Apr 27, 2009 at 11:31 AM, blazingwolf7 <blazingwo...@gmail.com> wrote:
hi,
I am trying to perform a search using Lucene. The keyword : "national india"
This phrase exists inside the content. I try searching it using Lucene and
it fail to return any results. Then I try to search it using Luke, with the
quotes and it also fail to return results.
Why is that happening? Can anyone advise me on this?
--
View this message in context:
http://www.nabble.com/Why-Lucene-phrase-searching-fail--tp23253549p23253549.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org