We need to validate that documents delivered to us conform to strict mappings in ElastiSearch before they are indexed. Is there a way to use the strict mapping validation component of ElasticSearch as a library outside the server environment, so that we could implement our own Java program to validate documents against some mapping configuration?
I tried to have a look at the source code in GitHub, but I wasn't sure where to start to looking, so I would appreciate if someone could maybe point me in the right direction. Thanks