lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <>
Subject Re: Token termBuffer issues
Date Mon, 23 Jul 2007 03:41:58 GMT
> Agreed, so we can't change the API.  So the next/nextDirect proposal
> should work well: it doesn't change the API yet would allow consumers
> that don't require "full private copy" of every Token, like
> DocumentsWriter, to have good performance.

If we eventually go this way, my preferred API for reuse is
   next(Token resToken)
where a non-null resToken reads as
  "if supported, please use this object for the returned result"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message