Is there any way to store binary data fields without base64 encoding? I have a bunch of such fields in each document and it will be costly for me to encode/decode them every time. I don't want to index them. Or is there a possibility for Elasticsearch plugin to get low-level Lucene API interface? Because, as far as I know, they have StoredField:
as Elasticsearch also supports CBOR, which would allow you to sent binary data to elasticsearch as byte streams. That way you could circumvent the conversion on the cost that your client has to speak this protocol.
Thanks for your answer. Can you please point me out to some examples with Elastic and CBOR?
I think the only way to look at are the tests in the elasticsearch repository. The following tests are mentioning CBOR
also checking out the underlying implementation (jackson) that serializes/unserializes CBOR makes sense.
Hope this helps.
Thanks, will check it out!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.