On Friday 30 June 2006 19:09, markharw00d wrote:
> Erik Hatcher wrote:
> 
> > wouldn't this work?   +interested -"not interested"
> 
> Hi Erik.
> Yes, sorry brain is disengaged with all the heat here -  my example 
> wasn't great and my scenario may be more complex than I originally 
> outlined. I may have 20 different ways of saying "interested" and want 
> to query for these words - but only if they aren't immediately preceded 
> by "not", "isn't" or a choice of other negatives. I was looking for 
> something efficient and succint in SpanQuerys to help.

Maybe this:

SpanNotQuery(interested, SpanNearQuery(not,interested))

with a SpanTermQuery for each term?

Regards,
Paul Elschot

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

Reply via email to