lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruslan Sivak <rsi...@istandfor.com>
Subject Re: non-overlapping Span queries
Date Thu, 07 Dec 2006 23:29:58 GMT
Paul Elschot wrote:
> 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.
>>
>>
>>     
> http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200507.mbox/%3C200507052054.54859.paul.elschot@xs4all.nl%3E
>   
>> 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:
> http://issues.apache.org/jira/browse/LUCENE-569
>
> You can try the svn head, or a nightly build instead of 2.0:
> http://cvs.apache.org/dist/lucene/java/nightly/
> but a minimum span distance facility is not in there afaik.
>
> Regards,
> Paul Elschot
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>   
I tried the latest nightly build, but it still doesn't help.  BTW i was 
hitting the same error before as the one mentioned in the original 
thread, so perhaps the fix is not yet complete?  I was getting an error 
when doing this kind of query:

(brooklyn) near (brooklyn) slop 10

Russ



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message