hello,

i am trying to understand the "debug" output from a query, and specifically
- how scores for two (2) documents are derived and why they are so far
apart.

the user is entering 9030 for the search

the search is rightfully returning the top document, however - the question
is why is the document with id 90302 so far down on the list.  

i have attached a text file i generated with xslt, pulling the document
information.  the text file has the itemNo, the rankNo and the partCnt.  the
sort order of the response handler is:

  <str name="sort">score desc, rankNo desc, partCnt desc</str>



if you look at the text file - you will see that 90302 is 174'th on the
list!  90302 has a rankNo of 6849 - and i would think that would drive it
much higher on the list and therefore much closer to 9030.

what is happening from a business perspective - is - 9030 is one of our top
selling parts as is 90302.  they need to be closer together in the results
instead of separated by 170+ documents that have a rankNo of 0.

i have also CnP the response handler that is being used - below

can someone help me understand the scoring so i can correct this?

this is the scoring for the two documents:

      <str name="9030                    ,0046,046">
12.014634 = (MATCH) max of:
  0.20737723 = (MATCH) weight(itemNo:9030^0.9 in 2308681), product of:
    0.022755474 = queryWeight(itemNo:9030^0.9), product of:
      0.9 = boost
      9.11329 = idf(docFreq=2565, maxDocs=8566704)
      0.0027743944 = queryNorm
    9.11329 = (MATCH) fieldWeight(itemNo:9030 in 2308681), product of:
      1.0 = tf(termFreq(itemNo:9030)=1)
      9.11329 = idf(docFreq=2565, maxDocs=8566704)
      1.0 = fieldNorm(field=itemNo, doc=2308681)
  12.014634 = (MATCH) fieldWeight(itemNoExactMatchStr:9030 in 2308681),
product of:
    1.0 = tf(termFreq(itemNoExactMatchStr:9030)=1)
    12.014634 = idf(docFreq=140, maxDocs=8566704)
    1.0 = fieldNorm(field=itemNoExactMatchStr, doc=2308681)
</str>




      <str name="90302                   ,0046,046">
0.20737723 = (MATCH) max of:
  0.20737723 = (MATCH) weight(itemNo:9030^0.9 in 1796597), product of:
    0.022755474 = queryWeight(itemNo:9030^0.9), product of:
      0.9 = boost
      9.11329 = idf(docFreq=2565, maxDocs=8566704)
      0.0027743944 = queryNorm
    9.11329 = (MATCH) fieldWeight(itemNo:9030 in 1796597), product of:
      1.0 = tf(termFreq(itemNo:9030)=1)
      9.11329 = idf(docFreq=2565, maxDocs=8566704)
      1.0 = fieldNorm(field=itemNo, doc=1796597)
</str>

~      

  <requestHandler name="itemNoProductTypeBrandSearch"
class="solr.SearchHandler" default="false">
    <lst name="defaults">
      <str name="defType">edismax</str>
      <str name="echoParams">all</str>
      <int name="rows">10</int>
      <str name="qf">itemNoExactMatchStr^30 itemNo^.9 divProductTypeDesc^.8
brand^.5</str>
      <str name="q.alt">*:*</str>
      <str name="sort">score desc, rankNo desc, partCnt desc</str>
      <str name="facet">true</str>
      <str name="facet.field">itemDescFacet</str>
      <str name="facet.field">brandFacet</str>
      <str name="facet.field">divProductTypeIdFacet</str>
    </lst>
    <lst name="appends">
    </lst>
    <lst name="invariants">
    </lst>
  </requestHandler>
     
thank you for any help




--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-help-understanding-an-issue-with-scoring-tp4002897.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to