lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Newbie Question on SpanQuery
Date Wed, 17 Dec 2008 13:15:09 GMT

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:
> Sent from the Lucene - General mailing list archive at

Grant Ingersoll

Lucene Helpful Hints:

View raw message