Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: General

Newbie Question on SpanQuery

 

 

Lucene general RSS feed   Index | Next | Previous | View Threaded


ayyanar.aswathaman at aspiresys

Dec 16, 2008, 9:22 PM

Post #1 of 2 (815 views)
Permalink
Newbie Question on SpanQuery

Hi, Iam new to lucene. It seams SpanTermQuery is similar to FuzzyQuery. Can
anyone explain the use of SpanTermQuery with example
--
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.


gsingers at apache

Dec 17, 2008, 5:15 AM

Post #2 of 2 (727 views)
Permalink
Re: Newbie Question on SpanQuery [In reply to]

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

Lucene general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.