I'm trying to retrieve results from solr such that newer documents' scores are boosted. From the solr wiki it states that I should use a function query to influence the score but I'm a little confused on howto use a function query.

Searching through the archives I found a suggestion of using the _val_: hack in the standard query handler, but when i tried that with

recip(rord(date),1,1000,1000)^2

to just test it I got an error saying

org.apache.solr.core.SolrException: undefined field recip

Can someone explain the function queries a little clearer and if I would need 
to use a different query handler?

-Mike


Reply via email to