On Dec 17, 2008, at 12:22 AM, ayyanar wrote:


Hi, Iam new to lucene. It seams SpanTermQuery is similar to FuzzyQuery. Can
anyone explain the use of SpanTermQuery with example

It's more like TermQuery, except it can return where in the document the match took place, as opposed to TermQuery which just tells you the document matched. This applies to all the Span Queries: they allow you to know where exactly in the document things matched.


--
View this message in context: 
http://www.nabble.com/Newbie-Question-on-SpanQuery-tp21047421p21047421.html
Sent from the Lucene - General mailing list archive at Nabble.com.


--------------------------
Grant Ingersoll

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ










Reply via email to