lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimtronic <jimtro...@gmail.com>
Subject Re: PayloadFunctions don't work the same since 4.1
Date Thu, 28 Mar 2013 02:55:59 GMT
Ok, finally got some time to dig into this and you were exactly right. I
simply needed to provide the offset of the payload when scoring it in my
custom similarity.

EG: PayloadHelper.decodeFloat(payload.bytes, payload.offset);

Simple! Thanks for the help.

Jim



--
View this message in context: http://lucene.472066.n3.nabble.com/PayloadFunctions-don-t-work-the-same-since-4-1-tp4049947p4051940.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message