lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark harwood <>
Subject Any existing query types that support equivalent of "-not interested" ?
Date Fri, 30 Jun 2006 15:47:26 GMT
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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message