lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Demoting results
Date Thu, 18 Mar 2004 18:32:04 GMT
Have you tried assigning these very small boosts (0 < boost < 1) and 
assigning other query clauses relatively large boosts (boost > 1)?

Boris Goldowsky wrote:
> Is there any way to build a query where the occurrence of a particular
> Term (in a Keyword field) causes the rank of the document to be
> decreased?  I have various types of documents, and some of them are less
> interesting than others, so I want them to be pushed towards the bottom
> of the results ranking.  However, I do not want to eliminate them
> entirely, so I can't use a boolean not.
> 
> Using negative weights would seem logical here, but apparently has no
> effect on rankings - negative weights appear to be treated as zeros.
> 
> Any ideas would be appreciated.
> 
> Thanks,
> Boris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
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