Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Merge ES index and mapping creation in Indices#create() #1563
When creating an Elasticsearch index and putting the respective mapping in separate operations, the mapping creation might fail (e. g. due to a timeout) and lead to invalid messages being indexed into Elasticsearch (e. g. with a wrong type for "timestamp" or other important message fields). Merging these operations should at least solve some of those error situations.