Mismatch in score displayed in debug and score field. Please refer attached xml.

When I search for title_ws:(Microsoft Ofice 365). If the results are displayed 
by explain score order then we would have the expected result “Microsoft Office 
365” then “Lync - Microsoft Office 365”

<result name="response" numFound="13617" start="0" maxScore="1.0952835">
  <doc>
    <str name="title">Lync - Microsoft Office 365</str>
    <str name="title_ws">Lync - Microsoft Office 365</str>
    <int name="id">1722669</int>
    <float name="score">1.0952835</float></doc> Score from explain 1.0952835
  <doc>
    <str name="title">Microsoft Office 365</str>
    <str name="title_ws">Microsoft Office 365</str>
    <int name="id">2043876</int>
    <float name="score">0.41725087</float></doc> Score from explain 1.2517526
</result>

Thanks
Rajesh



Corporate Executive Board India Private Limited. Registration No: 
U741040HR2004PTC035324. Registered office: 6th Floor, Tower B, DLF Building 
No.10 DLF Cyber City, Gurgaon, Haryana-122002, India..



This e-mail and/or its attachments are intended only for the use of the 
addressee(s) and may contain confidential and legally privileged information 
belonging to CEB and/or its subsidiaries, including CEB subsidiaries that offer 
SHL Talent Measurement products and services. If you have received this e-mail 
in error, please notify the sender and immediately, destroy all copies of this 
email and its attachments. The publication, copying, in whole or in part, or 
use or dissemination in any other way of this e-mail and attachments by anyone 
other than the intended person(s) is prohibited.


<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">2</int>
  <lst name="params">
    <str name="q">title_ws:(Microsoft Ofice 365)</str>
    <str name="indent">on</str>
    <str name="fl">id,title,title_ws,score</str>
    <str name="start">0</str>
    <str name="rows">2</str>
    <str name="wt">xml</str>
    <str name="debugQuery">on</str>
  </lst>
</lst>
<result name="response" numFound="13617" start="0" maxScore="1.0952835">
  <doc>
    <str name="title">Lync - Microsoft Office 365</str>
    <str name="title_ws">Lync - Microsoft Office 365</str>
    <int name="id">1722669</int>
    <float name="score">1.0952835</float></doc>
  <doc>
    <str name="title">Microsoft Office 365</str>
    <str name="title_ws">Microsoft Office 365</str>
    <int name="id">2043876</int>
    <float name="score">0.41725087</float></doc>
</result>
<lst name="debug">
  <str name="rawquerystring">title_ws:(Microsoft Ofice 365)</str>
  <str name="querystring">title_ws:(Microsoft Ofice 365)</str>
  <str name="parsedquery">title_ws:microsoft title_ws:ofice title_ws:365</str>
  <str name="parsedquery_toString">title_ws:microsoft title_ws:ofice title_ws:365</str>
  <lst name="explain">
    <str name="1722669">
1.0952835 = product of:
  1.6429251 = sum of:
    0.05045145 = weight(title_ws:microsoft in 1279) [ClassicSimilarity], result of:
      0.05045145 = score(doc=1279,freq=1.0), product of:
        0.095025785 = queryWeight, product of:
          1.2135401 = idf(docFreq=13580, maxDocs=16814)
          0.07830461 = queryNorm
        0.5309238 = fieldWeight in 1279, product of:
          1.0 = tf(freq=1.0), with freq of:
            1.0 = termFreq=1.0
          1.2135401 = idf(docFreq=13580, maxDocs=16814)
          0.4375 = fieldNorm(doc=1279)
    1.5924737 = weight(title_ws:365 in 1279) [ClassicSimilarity], result of:
      1.5924737 = score(doc=1279,freq=1.0), product of:
        0.5338765 = queryWeight, product of:
          6.817944 = idf(docFreq=49, maxDocs=16814)
          0.07830461 = queryNorm
        2.9828506 = fieldWeight in 1279, product of:
          1.0 = tf(freq=1.0), with freq of:
            1.0 = termFreq=1.0
          6.817944 = idf(docFreq=49, maxDocs=16814)
          0.4375 = fieldNorm(doc=1279)
  0.6666667 = coord(2/3)
</str>
    <str name="2043876">
1.2517526 = product of:
  1.8776288 = sum of:
    0.0576588 = weight(title_ws:microsoft in 7342) [ClassicSimilarity], result of:
      0.0576588 = score(doc=7342,freq=1.0), product of:
        0.095025785 = queryWeight, product of:
          1.2135401 = idf(docFreq=13580, maxDocs=16814)
          0.07830461 = queryNorm
        0.60677004 = fieldWeight in 7342, product of:
          1.0 = tf(freq=1.0), with freq of:
            1.0 = termFreq=1.0
          1.2135401 = idf(docFreq=13580, maxDocs=16814)
          0.5 = fieldNorm(doc=7342)
    1.81997 = weight(title_ws:365 in 7342) [ClassicSimilarity], result of:
      1.81997 = score(doc=7342,freq=1.0), product of:
        0.5338765 = queryWeight, product of:
          6.817944 = idf(docFreq=49, maxDocs=16814)
          0.07830461 = queryNorm
        3.408972 = fieldWeight in 7342, product of:
          1.0 = tf(freq=1.0), with freq of:
            1.0 = termFreq=1.0
          6.817944 = idf(docFreq=49, maxDocs=16814)
          0.5 = fieldNorm(doc=7342)
  0.6666667 = coord(2/3)
</str>
  </lst>
  <str name="QParser">LuceneQParser</str>
  <lst name="timing">
    <double name="time">2.0</double>
    <lst name="prepare">
      <double name="time">0.0</double>
      <lst name="query">
        <double name="time">0.0</double>
      </lst>
      <lst name="facet">
        <double name="time">0.0</double>
      </lst>
      <lst name="facet_module">
        <double name="time">0.0</double>
      </lst>
      <lst name="mlt">
        <double name="time">0.0</double>
      </lst>
      <lst name="highlight">
        <double name="time">0.0</double>
      </lst>
      <lst name="stats">
        <double name="time">0.0</double>
      </lst>
      <lst name="expand">
        <double name="time">0.0</double>
      </lst>
      <lst name="debug">
        <double name="time">0.0</double>
      </lst>
    </lst>
    <lst name="process">
      <double name="time">1.0</double>
      <lst name="query">
        <double name="time">0.0</double>
      </lst>
      <lst name="facet">
        <double name="time">0.0</double>
      </lst>
      <lst name="facet_module">
        <double name="time">0.0</double>
      </lst>
      <lst name="mlt">
        <double name="time">0.0</double>
      </lst>
      <lst name="highlight">
        <double name="time">0.0</double>
      </lst>
      <lst name="stats">
        <double name="time">0.0</double>
      </lst>
      <lst name="expand">
        <double name="time">0.0</double>
      </lst>
      <lst name="debug">
        <double name="time">1.0</double>
      </lst>
    </lst>
  </lst>
</lst>
</response>

Reply via email to