[ https://issues.apache.org/jira/browse/LUCENE-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544095 ]
Michael Busch commented on LUCENE-1062: --------------------------------------- We want to add the following methods to Payload: {code:java} public void setPayload(byte[] data); public void setPayload(byte[] data, int offset, int length); public byte[] getPayload(); public int getPayloadOffset(); public Object clone(); {code} Also Payload should implement Cloneable. Furthermore, we want to add a fieldName arg to Similarity.scorePayload(). I think we can also remove the "experimental" warnings from the Payload APIs now? > Improved Payloads API > --------------------- > > Key: LUCENE-1062 > URL: https://issues.apache.org/jira/browse/LUCENE-1062 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Reporter: Michael Busch > Assignee: Michael Busch > Priority: Minor > Fix For: 2.3 > > > We want to make some optimizations to the Payloads API. > See following thread for related discussions: > http://www.gossamer-threads.com/lists/lucene/java-dev/54708 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]