lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Payload API
Date Mon, 19 Nov 2007 17:09:11 GMT
On Nov 19, 2007 11:38 AM, Michael McCandless <lucene@mikemccandless.com> wrote:
> > If we opt to treat payload like termBuffer and copy the bytes, then we
> > need no offset member.
>
> I think I'd lean towards leaving payload "by reference"?

It seems difficult to allow the payload setter to reuse their byte[],
unless we break back compatibility with other token filters.  Do you
have a solution in mind?

-Yonik

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