Hi Ahmet,
Yes, I did, also tried various scenarios with the same outcome. I used the
stock example, with minimum customization ( custom similarity and query
parser ).
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working
.
Thanks!
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998p4111244.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Markus,
Do you have any example/tutorials of your payloads in custom filter
implementation ?
I really want to get payloads working, in any way.
Thanks!
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working
weird, and can't explain it.
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998p4111219.html
Sent from the Solr - User mailing list archive at Nabble.com.
decoded value is 10.4
> payload : [42 c6 0 0], payload bytes: [B@5c4dc4, decoded value is 10.4
>
>
> Something doesn't seem right here. Any idea why this behaviour?
> Is anyone using payloads using Solr 4.6.0 ?
>
>
>
>
> -
> Thanks,
> Micha
Solr 4.6.0 ?
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998p4111214.html
Sent from the Solr - User mailing list archive at Nabble.com.
=
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.docSco
oadFunction(), false), Occur.MUST);
} else {
q.add(new PayloadTermQuery(new Term(nv[0], nv[1]),
new AveragePayloadFunction(), false), Occur.SHOULD);
}
}
return q;
}
}
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Si
tf(freq=1.0), with freq of:\n 1.0 = termFreq=1.0\n
> 0.7768564 = idf(docFreq=4, maxDocs=4)\n0.3125 = fieldNorm(doc=2)\n"
>},
>
> No payload seems to be considered in score calculation - do i need to use a
> special query handler?
>
>
>
> -
> Thanks
with score: 10.4
payload is: [42 4a cc cd] with score: 10.4
payload is: [42 c6 0 0] with score: 10.4
Any idea why is it always the same ?
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998p4111045.html
1.0f;
}
-Original message-
> From:michael.boom
> Sent: Monday 13th January 2014 14:49
> To: solr-user@lucene.apache.org
> Subject: Re: Simple payloads example not working
>
> Thanks iorixxx,
>
> Actually I've just tried it and I hit a small wall, t
(byte [] bytes, int offset)
in DefaultSimilarity:
public float scorePayload(int doc, int start, int end, BytesRef payload)
So it's BytesRef vs byte[].
How should i proceed in this scenario?
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Simple-payloa
l
--
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.
n 1.0 = termFreq=1.0\n
0.7768564 = idf(docFreq=4, maxDocs=4)\n0.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
e":["Doc three"],
"payloads":"testone|5 testtwo|100 testthree|300",
"_version_":1457102453657829376},
{
"id":"1",
"title":["Doc one"],
"payloads":"testone|
15 matches
Mail list logo