lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Busch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1062) Improved Payloads API
Date Tue, 20 Nov 2007 22:11:43 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message