Storing binary data in ES

I'm relatively new to ES. Here is what I am trying to achieve : I'm indexing documents that have various metadatas and a data field that is just a binary blob (it's not particularly big). I do not need to search that field, I'm just querying on the metadatas. So far the way I do this is by encoding this binary blob in base64 and put it in a non-indexed text field in ES.

My question is: would it make a big difference in terms of storage and performance to store this binary blob in a binary field, vs what I am currently doing ? Can I have a little more explanation on how ES handles binary storage internally ? A binary field would slightly complicate my data flow so I'm trying to figure out f there is a storage/performance gain worth the change.

Thanks a lot for your help !

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.