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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to