lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hanfland <markhanfl...@yahoo.com.INVALID>
Subject Re: Indexing a binary field
Date Tue, 01 Sep 2015 14:07:11 GMT
You are correct that Lucene only works with text (no binary or primitives), Base64 would be
the way I would suggest. 


     On Monday, August 31, 2015 11:19 AM, Dan Smith <dsmith@pivotal.io> 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


   
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message