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