gt; Sent: Friday, January 18, 2013 1:08 PM
> To: [email protected]
> Subject: Re: SpanNearQuery with two boundaries
>
> Hi Igor,
>
> You could try wrapping the two cases in a SpanNotQuery:
> SpanNot(SpanNear(runs, cat, 10), SpanNear(runs, cat, 3))
>
> That should
+1
I think that accurately states the semantics of the operation you want.
-- Jack Krupansky
-Original Message-
From: Alan Woodward
Sent: Friday, January 18, 2013 1:08 PM
To: [email protected]
Subject: Re: SpanNearQuery with two boundaries
Hi Igor,
You could try wrapping
Hi Igor,
You could try wrapping the two cases in a SpanNotQuery:
SpanNot(SpanNear(runs, cat, 10), SpanNear(runs, cat, 3))
That should return documents that have runs within 10 positions of cat, as long
as they don't overlap with runs within 3 positions of cat.
Alan Woodward
www.flax.co.