lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw...@yahoo.co.uk
Subject Re: Demoting results
Date Sun, 28 Mar 2004 22:41:46 GMT
I've found an elegant way of doing this now for all types of search - a new "NegatingQuery"
class that takes any Query object in its constructor and 
selects all documents that DONT match and gives them a user-definable boost.

The code is here:
http://www.inperspective.com/lucene/demote.zip

Cheers
Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message