How to validate document ids (for length and format, using a regex or something equivalent) which are generated by spring-data-elasticsearch for each document. For example