Validating that documents conform to strict mappings

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 :slight_smile:

Hi Mario Juric,
Do you push data directly to Elasticsearch / push through any parser like Logstash

We push data directly to ES

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