I have a potential need for a SpanNearQuery with an exact non-zero gap specified, and possibly a need for a non-zero minimum gap.

Would this be as easy as modifying SpanNearQuery to have a minimum and maximum slop feature, and modifying NearSpans.checkSlop() to add a condition that the difference is >= the minimum slop? At first glance it seems so, but I want to be sure I'm not missing something.

If I did implement this, I'd of course leave the 0 minimum as the default and leave the current SpanNearQuery constructor alone and add another one to allow specification of a min and max slop.

Thanks,
        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to