Re: Boost newer documents only if date is different from timestamp

2011-05-16 Thread Chris Hostetter
The "map" function lets you replace an arbitrary range of values with a new value, so you could "map" any value greater then the ms that today started on to any other point in history... http://wiki.apache.org/solr/FunctionQuery#map An easier approach would be probably be to apply some logic a

Boost newer documents only if date is different from timestamp

2011-04-28 Thread Dietrich
I am trying to boost newer documents in Solr queries. The ms function http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents seems to be the right way to go, but I need to add an additional condition: I am using the last-Modified-Date from crawled web pages as the