lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: Field should accept BytesRef?
Date Mon, 16 May 2011 15:41:47 GMT
On Mon, May 16, 2011 at 11:29 AM, Jason Rutherglen
<> wrote:
>> But when you create an untokenized field (or even a binary field, which is stored-only
at the moment), you could theoretically index the bytes directly
> Right, if I already have a BytesRef of what needs to be indexed, then
> passing the BR into Field/able should reduce garbage collection of
> strings?

you can do this with a tokenstream, see
for an example

(sorry i somehow was confused about your message earlier).

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

View raw message