You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by anuvenk <an...@hotmail.com> on 2008/01/05 02:11:41 UTC

solr results debugging

I've been using the solr admin form with debug=true to do some in-depth
analysis on some results. Could someone explain how to make sense of
this..This is the debugging info for the first result i got.


10.201284 = (MATCH) sum of:
  6.2467875 = (MATCH) max plus 0.01 times others of:
    6.236769 = (MATCH) weight(text:"(probat trust live inherit)
testament"^0.8 in 48784), product of:
      0.7070911 = queryWeight(text:"(probat trust live inherit)
testament"^0.8), product of:
        0.8 = boost
        18.032305 = idf(text:"(probat trust live inherit) testament"^0.8)
        0.049015578 = queryNorm
      8.820319 = (MATCH) fieldWeight(text:"(probat trust live inherit)
testament"^0.8 in 48784), product of:
        2.236068 = tf(phraseFreq=5.0)
        18.032305 = idf(text:"(probat trust live inherit)
.....

and it continues some more..

search query: will

synonyms that i have: will, living will, last will and testament, living
trust, inheritance,probate

here is my request handler:

(portion of it)

<str name="echoParams">explicit</str>
     <float name="tie">0.01</float>
     <str name="qf">text^0.8 name^2.0</str>
     <!-- until 3 all should match;4 - 3 shld match; 5 - 4 shld match; 6 - 5
shld match; above 6 - 90% match -->
     <str name="mm">3&lt;-1 4&lt;-1 5&lt;-1 6&lt;90%</str>
     <str name="pf">
         text^0.8 name^2.0
     </str>
     <int name="ps">50</int>
-- 
View this message in context: http://www.nabble.com/solr-results-debugging-tp14628463p14628463.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr results debugging

Posted by Chris Hostetter <ho...@fucit.org>.
: I've been using the solr admin form with debug=true to do some in-depth
: analysis on some results. Could someone explain how to make sense of
: this..This is the debugging info for the first result i got.

there's more to the debugging info then just what's below ... this is 
known as a "score explanation" understanding it requires a pretty in depth 
understanding of the lucene scoring model, which has somme good 
documentation online...

	http://lucene.apache.org/java/docs/scoring.html

...once you read up on the concepts that go into the scoring formula, 
making sense of the score explanations is just a matter of paying careful 
attention to the indenting, and doing the math (6.2467875 = the maximum 
value of the values indented one level below it, plus 0.01 times the sum 
of the other values one indent level below it; etc...)

there's a few slides that cover the "nutshell" of score explanations 
towards the end of my apachecon slides...

	http://people.apache.org/~hossman/apachecon2007us/

: 10.201284 = (MATCH) sum of:
:   6.2467875 = (MATCH) max plus 0.01 times others of:
:     6.236769 = (MATCH) weight(text:"(probat trust live inherit)
: testament"^0.8 in 48784), product of:
:       0.7070911 = queryWeight(text:"(probat trust live inherit)
: testament"^0.8), product of:
:         0.8 = boost
:         18.032305 = idf(text:"(probat trust live inherit) testament"^0.8)
:         0.049015578 = queryNorm
:       8.820319 = (MATCH) fieldWeight(text:"(probat trust live inherit)
: testament"^0.8 in 48784), product of:
:         2.236068 = tf(phraseFreq=5.0)
:         18.032305 = idf(text:"(probat trust live inherit)
: .....


-Hoss