Re: Function Query does not work properly

2014-02-27 Thread rainfall83
Hi Jan, I think that in your overall function you messed up a little with your time units. In your product function you try to get years from miliseconds: product(ms(NOW,date_field),3.16e-11) ... to have that value comparable with the value of -100 in your map function: map(product(ms(NOW,date_f

Function Query does not work properly

2014-02-26 Thread Jan Wedding
Hi, I have a small problem using function queries. According to http://wiki.apache.org/solr/FunctionQuery#Date_Boosting and http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents I've tried using function queries to boost newer documents over older ones. For