Re: How to identify the field with highest score in dismax

2012-02-08 Thread Mikhail Khludnev
Hello,

Have you tried to specify debugQuery=on and look into explain section?
Though it's not really performant, but anyway I propose to start from it.

Regards

On Wed, Feb 8, 2012 at 7:32 PM, crisfromnova  wrote:

> Hi,
>
> According solr documentation the dismax score is calculating after the
> formula :
> (score of matching clause with the highest score) + ( (tie paramenter) *
> (scores of any other matching clauses) ).
>
> Is there a way to identify the field on which the matching clause score is
> the highest?
>
> For example I suppose that I have the following document :
>
> 
>  Ford Mustang Coupe Cabrio
>  Ford Mustang is a great car
> 
>
> and the following dismax query :
>
> defType=dismax&qf=Name^10+Details^1&q="Ford+Mustang"+Ford+Mustang
>
> and receive the document with the score : 5.6.
> Is there a way to find out if the score is for the matching on Name field
> or
> for the matching on Details field?
>
> Thanks in advance!
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/How-to-identify-the-field-with-highest-score-in-dismax-tp3726297p3726297.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Lucid Certified
Apache Lucene/Solr Developer
Grid Dynamics

<http://www.griddynamics.com>
 


How to identify the field with highest score in dismax

2012-02-08 Thread crisfromnova
Hi,

According solr documentation the dismax score is calculating after the
formula : 
(score of matching clause with the highest score) + ( (tie paramenter) *
(scores of any other matching clauses) ).

Is there a way to identify the field on which the matching clause score is
the highest?

For example I suppose that I have the following document : 


  Ford Mustang Coupe Cabrio
  Ford Mustang is a great car


and the following dismax query :

defType=dismax&qf=Name^10+Details^1&q="Ford+Mustang"+Ford+Mustang

and receive the document with the score : 5.6.
Is there a way to find out if the score is for the matching on Name field or
for the matching on Details field?

Thanks in advance!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-identify-the-field-with-highest-score-in-dismax-tp3726297p3726297.html
Sent from the Solr - User mailing list archive at Nabble.com.