bruary 10, 2011 10:41 PM
To: java-user-h...@lucene.apache.org; java-user@lucene.apache.org
Subject: lucene 3.0.3 | phrase query problem
Hi Anshum,
Thanks for your replay..
Yes, I am agree with you.
As right now, I am using StandardAnalyzer it remove stop words, Puts text in
lowercase and do not crea
Hi Anshum,
Thanks for your replay..
Yes, I am agree with you.
As right now, I am using StandardAnalyzer it remove stop words, Puts text in
lowercase and do not create index for most common word in English.
Searching on index created by StandardAnalyzer it gives result as
discussed
Hi Ranjit,
That would be because all stop words (space, comma, stop word set, etc..)
would be treated in a similar fashion and escaped while indexing, subject to
the analyzer you use while index your content.
Hope that explains the issue.
--
Anshum Gupta
http://ai-cafe.blogspot.com
On Thu, Feb 1
searchString = "i am using sql. server setting is easy task.";
while i am searching for phrase query "Sql Server" in above string it gives
result which is not correct. As In the above string sql and server is seperated
by dot(.)
using both PhraseQuery and SpanQuery gives same result.
Hi,
uot;sql. server" we should not get result?
Best regards, Lisheng
-Original Message-
From: Ranjit Kumar [mailto:ranjit.ku...@otssolutions.com]
Sent: Wednesday, February 09, 2011 9:39 PM
To: java-user-h...@lucene.apache.org; java-user@lucene.apache.org
Subject: lucene 3.0.3 | phrase que
Hi,
I am using SpanQuery and SpanNearQuery to get phrase query like "Sql Server".
In my text file in which I am searching, it is present like (sql. server) mean
'sql dot server' which is not a span like "Sql Server".
While searching for phrase query "Sql Server". It gives result for (sql.
ser