My documents have a field "expiration" that is the expiration date of that doc.

I want to give a boost to all documents that haven't expired. I still want to 
have expired documents returned, but unexpired documents should be given 
priority. 

Ideally the boost amount for all unexpired documents should be the same. i.e. 
whether the expiration date is tomorrow or a month from now wouldn't make a 
difference. Like wise all expired documents should be treated the same, whether 
it expired yesterday or a year ago.

Is that something possible? I read 
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
 but that's not quite what I want.


      

Reply via email to