There’s also the PayloadTermQueryParser here 
<https://issues.apache.org/jira/browse/SOLR-1485> (which is surely a bit out of 
date as well, but maybe a bit simpler starting point).

        Erik

On Jan 13, 2014, at 12:30 AM, michael.boom <my_sky...@yahoo.com> wrote:

> 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.

Reply via email to