I'm very new to the elasticsearch database.
I'm working on a document repository application where all documents uploaded to the application go to S3. Based on the S3 file Key(file path in S3 bucket) I generate a Base64 Encoded string which we use as a document Id in Elasticsearch.
Elasticsearch document contains data related to the uploaded file, like some extracted content from a file which used for searching and some additional metadata related to the file.
Now my question: Is it safe to use a Base64 encoded string as document Id in elasticsearch in terms of performance and security.