lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael.boom" <my_sky...@yahoo.com>
Subject Re: Simple payloads example not working
Date Mon, 13 Jan 2014 08:30:26 GMT
Actually, i just checked the debugQuery output: they all have the same score:
"explain": {
      "1": "\n0.24276763 = (MATCH) weight(text:testone in 0)
[DefaultSimilarity], result of:\n  0.24276763 = fieldWeight in 0, product
of:\n    1.0 = tf(freq=1.0), with freq of:\n      1.0 = termFreq=1.0\n   
0.7768564 = idf(docFreq=4, maxDocs=4)\n    0.3125 = fieldNorm(doc=0)\n",
      "2": "\n0.24276763 = (MATCH) weight(text:testone in 1)
[DefaultSimilarity], result of:\n  0.24276763 = fieldWeight in 1, product
of:\n    1.0 = tf(freq=1.0), with freq of:\n      1.0 = termFreq=1.0\n   
0.7768564 = idf(docFreq=4, maxDocs=4)\n    0.3125 = fieldNorm(doc=1)\n",
      "3": "\n0.24276763 = (MATCH) weight(text:testone in 2)
[DefaultSimilarity], result of:\n  0.24276763 = fieldWeight in 2, product
of:\n    1.0 = tf(freq=1.0), with freq of:\n      1.0 = termFreq=1.0\n   
0.7768564 = idf(docFreq=4, maxDocs=4)\n    0.3125 = fieldNorm(doc=2)\n"
    },

No payload seems to be considered in score calculation - do i need to use a
special query handler?



-----
Thanks,
Michael
--
View this message in context: http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998p4110999.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message