Hi,

I just spotted something weird, again. A regular search popped up a weird 
candidate for first result, so i've reproduced it on our production system.

Digging deeper, it appears that the fl parameter has something to do with it. 
Not the order of results but the scores / explain in the debug section are 
different. This means i am not sure in what case the debugging information is 
really correcty.

Check this out. These are the top four results with 
fl=title_nl,score,id&hl=false&facet=false&debugQuery=true&wt=xml&indent=true&q=misofonie&rows=4

<result name="response" numFound="26" start="0" maxScore="153.99518">
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/179901/website-over-misofonie-online/</str>
    <str name="title_nl">Website over misofonie online</str>
    <float name="score">153.99518</float></doc>
  <doc>
    <str name="id">http://www.gezondheidenco.nl/tag/misofonie/</str>
    <str name="title_nl">misofonie Archives - Gezondheid &amp; Co</str>
    <float name="score">149.88002</float></doc>
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/263802/misofonie-psychische-aandoening-is-behandelen/</str>
    <str name="title_nl">Misofonie: een psychische aandoening. Is het te 
behandelen? | Gezondheid &amp; Co</str>
    <float name="score">147.82176</float></doc>
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/tag/ereniging-misofonie-nl/</str>
    <str name="title_nl">ereniging Misofonie NL Archives - Gezondheid &amp; 
Co</str>
    <float name="score">144.10309</float></doc>
</result>

And here's the truncated explain section for above request, notice that it is 
not ordered correctly and the scores are different than above:

    <str 
name="http://www.gezondheidenco.nl/179901/website-over-misofonie-online/";>
148.65146 = sum of:
  148.65146 = max plus 0.65 times others of:
    <str name="http://www.gezondheidenco.nl/tag/misofonie/";>
144.63885 = sum of:
  144.63885 = max plus 0.65 times others of:
    <str 
name="http://www.gezondheidenco.nl/263802/misofonie-psychische-aandoening-is-behandelen/";>
152.7493 = sum of:
  152.7493 = max plus 0.65 times others of:
    <str name="http://www.gezondheidenco.nl/tag/ereniging-misofonie-nl/";>
139.05501 = sum of:
  139.05501 = max plus 0.65 times others of:

Here's the other request with only the fl-parameter having a different value: 
fl=score,id&hl=false&facet=false&debugQuery=true&wt=xml&indent=true&q=misofonie&rows=4

<result name="response" numFound="26" start="0" maxScore="153.99518">
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/179901/website-over-misofonie-online/</str>
    <float name="score">153.99518</float></doc>
  <doc>
    <str name="id">http://www.gezondheidenco.nl/tag/misofonie/</str>
    <float name="score">149.88002</float></doc>
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/263802/misofonie-psychische-aandoening-is-behandelen/</str>
    <float name="score">147.82176</float></doc>
  <doc>
    <str 
name="id">http://www.gezondheidenco.nl/tag/ereniging-misofonie-nl/</str>
    <float name="score">144.10309</float></doc>
</result>

And here are the scores for this query, notice these are ordered descending, 
the ones above are not, also notice the scores are identical to that of the 
result set itself.

    <str 
name="http://www.gezondheidenco.nl/179901/website-over-misofonie-online/";>
153.9952 = sum of:
  153.9952 = max plus 0.65 times others of:
    <str name="http://www.gezondheidenco.nl/tag/misofonie/";>
149.88002 = sum of:
  149.88002 = max plus 0.65 times others of:
    <str 
name="http://www.gezondheidenco.nl/263802/misofonie-psychische-aandoening-is-behandelen/";>
147.82175 = sum of:
  147.82175 = max plus 0.65 times others of:
    <str name="http://www.gezondheidenco.nl/tag/ereniging-misofonie-nl/";>
144.10309 = sum of:
  144.10309 = max plus 0.65 times others of:

I am completely surprised to see this crazy behaviour. But i vaguely remeber 
something about this before, but cannot find references. 

Any idea?

Thanks,
Markus

Reply via email to