I meant can I do it with dismax without modifying every single query? I'm accessing Solr through haystack and all queries are generated by haystack. I'd much rather not have to go under haystack to modify the generated queries. Hence I'm trying to find a way to boost every query by default.
--- On Wed, 1/6/10, Yonik Seeley <yo...@lucidimagination.com> wrote: From: Yonik Seeley <yo...@lucidimagination.com> Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Wednesday, January 6, 2010, 7:48 PM On Wed, Jan 6, 2010 at 7:43 PM, Andy <angelf...@yahoo.com> wrote: > So if I want to configure Solr to turn every query q=foo into q={!boost > b=log(popularity)}foo, dismax wouldn't work but edismax would? You can do it with dismax.... it's just that the syntax is slightly more convoluted. Check out the section on boosting newer documents: http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents