Binary documents?

I’m wondering what is the use case of binary documents with CB. I believe they can’t be indexed, so it seems out of place in a document store.

Hi @mr_x I have come across a few use cases … I am sure my list is by no means exhustive

Long term archiving via compression.

  • Build an array of documents and compress them into a small binary document.
  • There are techniques to compress homogeneous JSON record sets into a small binary store.
  • Storing images
  • Signatures
  • Initials on documents
  • Using Coucbase’s KV store to quickly store and retrieve binary documents - not all customers use N1QL and indexes
  • API keys
  • Cryptographic keys