From: Paul Elschot > One can use SpanNotQuery to get NOT NEAR by using this generalized > structure: > > SpanNot(foo, SpanNear(foo, bar, distance)) > > This also allows for example: > > SpanNot(two, SpanNear(one, three, distance)) > > Btw. I don't know of any query language that has this second form. > > AND NOT normally does not work for this because it works on doc level > and not within the matching text of a field.
Ah, very cool, I hadn't thought about that. Thanks! Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]