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/[EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]