wouldn't this work?   +interested -"not interested"


On Jun 30, 2006, at 11:47 AM, mark harwood wrote:

As an example - I want to search for the word "interested" without finding docs that have "not" immediately preceding it.

I couldn't see anything in SpanQuerys that would help and you can't construct phrase queries like "-not interested".

If something doesn't exist I'll probably look into writing a new Query class of some sort to support this using the position info in the index but I thought I'd check here for ideas first.

Cheers
Mark



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


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

Reply via email to