lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <>
Subject Re: non-overlapping Span queries
Date Thu, 07 Dec 2006 22:32:12 GMT
On Thursday 07 December 2006 22:57, Ruslan Sivak wrote:
> I see back in Jul 2005 there was a thread about SpanNearQueries which 
> were overlapping.
> A fix was posted by Paul Elschot at that time.  Did this fix ever make 
> it into 2.0?  I'm having problems with SpanNearQuerie's matching the 
> same thing again, example

> I'm searching for ((Brooklyn) near (Brooklyn near NY slop 0) slop 10) 
> and it matches Brooklyn, NY  I want it to not match unless the phrase is 
> something like
> Brooklyn High which is in Brooklyn, NY
That requires a minimum distance between the matches of the
subqueries, and that is not yet implemented.

The previous fix is in the trunk:

You can try the svn head, or a nightly build instead of 2.0:
but a minimum span distance facility is not in there afaik.

Paul Elschot

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message