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.
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
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
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
, 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.
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
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
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
.nabble.com/Simple-payloads-example-not-working-tp4110998p4110999.html
Sent from the Solr - User mailing list archive at Nabble.com.
[] 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
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
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
},
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
{
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
), 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
15 matches
Mail list logo