lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Indexing a binary field
Date Mon, 31 Aug 2015 19:57:48 GMT
StringField now also takes a BytesRef value to index, so you can index
a single binary token that way.  Does that work?

Mike McCandless

On Mon, Aug 31, 2015 at 12:19 PM, Dan Smith <> wrote:
> What's the best way to index binary data in Lucene? I'm adding a Lucene
> index to a key value store, and I want to be able to delete documents based
> on a binary key.
> As far as I can tell the Lucene API does not support indexing binary data,
> and I was looking into Base64 encoding the key. Is there a better way?
> -Dan

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

View raw message