Correction: 
I observed a pattern, the returned score is the same for all docs and equals
with the payload of the term in the first doc:

http://localhost:8983/solr/collection1/pds-search?q=payloads:testone&wt=json&indent=true&debugQuery=true
--->
"explain":{
      "1":"\n15.4 = (MATCH) btq(includeSpanScore=false), result of:\n  15.4
= AveragePayloadFunction.docScore()\n",
      "2":"\n15.4 = (MATCH) btq(includeSpanScore=false), result of:\n  15.4
= AveragePayloadFunction.docScore()\n",
      "3":"\n15.4 = (MATCH) btq(includeSpanScore=false), result of:\n  15.4
= AveragePayloadFunction.docScore()\n",
      "4":"\n15.4 = (MATCH) btq(includeSpanScore=false), result of:\n  15.4
= AveragePayloadFunction.docScore()\n"},

http://localhost:8983/solr/collection1/pds-search?q=payloads:testthree&wt=json&indent=true&debugQuery=true
"explain":{
      "1":"\n5.0 = (MATCH) btq(includeSpanScore=false), result of:\n  5.0 =
AveragePayloadFunction.docScore()\n",
      "2":"\n5.0 = (MATCH) btq(includeSpanScore=false), result of:\n  5.0 =
AveragePayloadFunction.docScore()\n",
      "3":"\n5.0 = (MATCH) btq(includeSpanScore=false), result of:\n  5.0 =
AveragePayloadFunction.docScore()\n",
      "4":"\n5.0 = (MATCH) btq(includeSpanScore=false), result of:\n  5.0 =
AveragePayloadFunction.docScore()\n"},



Any clue why is this happening?



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

Reply via email to