Re: Simple payloads example not working

2014-01-14 Thread michael.boom
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

Re: Simple payloads example not working

2014-01-14 Thread Ahmet Arslan
. 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.

RE: Simple payloads example not working

2014-01-14 Thread michael.boom
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

RE: Simple payloads example not working

2014-01-14 Thread michael.boom
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.

RE: Simple payloads example not working

2014-01-14 Thread Markus Jelsma
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

RE: Simple payloads example not working

2014-01-14 Thread michael.boom
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.

RE: Simple payloads example not working

2014-01-13 Thread michael.boom
= 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

Re: Simple payloads example not working

2014-01-13 Thread michael.boom
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

Re: Simple payloads example not working

2014-01-13 Thread Erik Hatcher
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

RE: Simple payloads example not working

2014-01-13 Thread michael.boom
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

RE: Simple payloads example not working

2014-01-13 Thread Markus Jelsma
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

Re: Simple payloads example not working

2014-01-13 Thread michael.boom
(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

Re: Simple payloads example not working

2014-01-13 Thread Ahmet Arslan
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.

Re: Simple payloads example not working

2014-01-13 Thread michael.boom
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

Simple payloads example not working

2014-01-13 Thread michael.boom
e":["Doc three"], "payloads":"testone|5 testtwo|100 testthree|300", "_version_":1457102453657829376}, { "id":"1", "title":["Doc one"], "payloads":"testone|