lucene-dev mailing list archives

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


Michael Busch commented on LUCENE-1062:

We want to add the following methods to Payload:

public void setPayload(byte[] data);
public void setPayload(byte[] data, int offset, int length);
public byte[] getPayload();
public int getPayloadOffset();

public Object clone();

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:
>             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:

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:
For additional commands, e-mail:

View raw message