--TEST-- SolrDisMaxQuery - setBoostFunction --FILE-- setBoostFunction($boostRecentDocsFunction); echo $dismaxQuery.PHP_EOL; ?> --EXPECTF-- q=lucene&defType=%s&bf=recip(ms(NOW,mydatefield),3.16e-11,1,1)