Amit its important to note that dismax/edismax isn't giving you a
weighted average of these field score. Without the tie parameter one
fields score is likely always "winning" the dismax contest. Field
scores are relative, so 5 could be an amazing score for say "title"
while 500 a terrible score for "text". Dismax picks the field that
yields the maximum score, so the worst text scores might be sorted
higher than the best title match.

Look at your debug output and use that, rather than your sense of
relative field importance, to adjust qf.

I wrote a blog post on this topic that you might find helpful

http://www.opensourceconnections.com/2013/07/02/getting-dissed-by-dismax-why-your-incorrect-assumptions-about-dismax-are-hurting-search-relevancy/

Sent from my Windows Phone From: Amit Aggarwal
Sent: 11/25/2013 6:31 AM
To: solr-user@lucene.apache.org
Subject: Re: Can I use boosting fields with edismax ?
Ok Erick.. I will try thanks
On 25-Nov-2013 2:46 AM, "Erick Erickson" <erickerick...@gmail.com> wrote:

> This should work. Try adding &debug=all to your URL, and examine
> the output both with and without your boosting. I believe you'll see
> the difference in the score calculations. From there it's a matter
> of adjusting the boosts to get the results you want.
>
>
> Best,
> Erick
>
>
> On Sat, Nov 23, 2013 at 9:17 AM, Amit Aggarwal <amit.aggarwa...@gmail.com
> >wrote:
>
> > Hello All ,
> >
> > I am using defType=edismax
> > So will boosting will work like this in solrConfig.xml
> >
> > <str name="qf">value_search^2.0 desc_search country_search^1.5
> > state_search^2.0 city_search^2.5 area_search^3.0</str>
> >
> > I think it is not working ..
> >
> > If yes , then what should I do ?
> >
>

Reply via email to