Right. But my understanding is that the handler default setting in solrconfig 
doesn't take the parameter {!boost}, it only takes the parameter bf, which adds 
the function query instead of multiply it.

Seems like the only way to have a default for parameter {!boost} is to use 
edismax, which won't be available till 1.5

--- On Thu, 1/7/10, Otis Gospodnetic <otis_gospodne...@yahoo.com> wrote:

From: Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject: Re: Any way to modify result ranking using an integer field?
To: solr-user@lucene.apache.org
Date: Thursday, January 7, 2010, 4:07 PM

Not sure if this was answered.
Yes, you can set the default params/values for a request handler in the 
solrconfig.xml .

 Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch



----- Original Message ----
> From: Andy <angelf...@yahoo.com>
> To: solr-user@lucene.apache.org
> Sent: Mon, January 4, 2010 4:56:14 PM
> Subject: Re: Any way to modify result ranking using an integer field?
> 
> Thank you Ahmet.
> 
> Is there any way I can configure Solr to always use {!boost 
> b=log(popularity)} 
> as the default for all queries?
> 
> I'm using Solr through django-haystack, so all the Solr queries are actually 
> generated by haystack. It'd be much cleaner if I could configure Solr to 
> always 
> use BoostQParserPlugin for all queries instead of manually modifying every 
> single query generated by haystack.
> 
> --- On Mon, 1/4/10, Ahmet Arslan wrote:
> 
> From: Ahmet Arslan 
> Subject: Re: Any way to modify result ranking using an integer field?
> To: solr-user@lucene.apache.org
> Date: Monday, January 4, 2010, 2:33 PM
> 
> > Thanks Ahmet.
> > 
> > Do I need to do anything to enable BoostQParserPlugin in
> > Solr, or is it already enabled?
> 
> I just confirmed that it is already enabled. You can see affect of it by 
> appending &debugQuery=on to your search url.




      

Reply via email to