Many thanks for the tip. I will give it a go.
On Tue, Jun 21, 2011 at 11:48 AM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > --- On Tue, 6/21/11, Kissue Kissue <kissue...@gmail.com> wrote: > > > From: Kissue Kissue <kissue...@gmail.com> > > Subject: Applying boost factors at run time > > To: solr-user@lucene.apache.org > > Date: Tuesday, June 21, 2011, 1:31 PM > > Hi, > > > > I have the following situation: > > > > 1. I am using Solr 3.1 > > 2. I am using the edismax query handler for my queries > > 3. I am using the SolrJ client library > > 4. Currently i have configured the fields i want to search > > on and the bosst > > factors in solr config. > > > > But i have just been told that we would need the bosst > > factors to be stored > > in a database so that admin can modify them as at when > > needed. So i want to > > know if it is possible to set the boost factors at runtime > > for the fields > > using the values stored in the database using Solr J? > > Yes you can always override defaults - defined in solrconfig.xml - in every > request. > > SolrQuery.set("qf", "myField^newBoostFactor"); >