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 20:46:22 GMT
On Nov 19, 2007 3:31 PM, Yonik Seeley <yonik@apache.org> wrote:
> On Nov 19, 2007 3:13 PM, Yonik Seeley <yonik@apache.org> wrote:
> > The filter that is setting payloads can't use the same byte[] with a
> > different value each time... it must allocate a new byte[] so it
> > doesn't change the old one, right?
>
> OK... I think Mike is right... everything should be OK as long as
> next() makes a copy of the payload.

I just checked in a test for this payload copying, and a fix (under
LUCENE-1057 since it all has to do with token reuse).

-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