I would like to create my indexes from a template stored in a JSON
file using the CreateIndexRequestBuilder class (Java).
Unfortunately, it seems that the CreateIndexRequestBuilder object
misses a method .source() and is also inconsistent in its members:
setSettings(source) exists but setMappings(source) does not.
Is there any reason for that or I am missing something ?