Maybe this:

SpanNotQuery(interested, SpanNearQuery(not,interested))

with a SpanTermQuery for each term?

Thanks, Paul. This is working well for me and I can happily use multiple SpanTermQueries embedded in a SpanOrQuery in place of each of the single words in your example.

SpanNotQuery(
SpanOrQuery(interested,curious...) SpanNearQuery(
                SpanOrQuery(not,wasnt,isnt,...)
                SpanOrQuery(interested,curious...)
                )
        )




        
        
                
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html

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

Reply via email to