RE: Simple payloads example not working

2014-01-14 Thread michael.boom
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-14 Thread Markus Jelsma
Subject: RE: Simple payloads example not working Investigating, it looks that the payload.bytes property is where the problem is. payload.toString() outputs corrects values, but .bytes property seems to behave a little weird: public class CustomSimilarity extends DefaultSimilarity

RE: Simple payloads example not working

2014-01-14 Thread michael.boom
also listed above) using exampledocs/post.sh utility. Indeed it looks 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

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 Ahmet Arslan
, in any way. 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 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

Simple payloads example not working

2014-01-13 Thread michael.boom
one the biggest payload for term testone. I am missing something here or is there a bug? Thanks! - Thanks, Michael -- View this message in context: http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-tp4110998.html Sent from the Solr - User mailing list archive

Re: Simple payloads example not working

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

Re: Simple payloads example not working

2014-01-13 Thread Ahmet Arslan
.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
[] 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-payloads-example

RE: Simple payloads example not working

2014-01-13 Thread Markus Jelsma
1.0f; } -Original message- From:michael.boom my_sky...@yahoo.com 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, the tutorial looks

RE: Simple payloads example not working

2014-01-13 Thread michael.boom
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 Sent from the Solr - User mailing

Re: Simple payloads example not working

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

Re: Simple payloads example not working

2014-01-13 Thread michael.boom
{ 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/Simple-payloads-example-not-working

RE: Simple payloads example not working

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