In the past (ES 2+) I could assign mappings to index names programmatically. In 6.3.1, there is a CreateIndexRequest/Response pair, but the documentation online says to use it with an API which does not exist. Most ES docs talk about using CURL; that's not an option. Can someone point me to a Gist or documentation that doesn't say "this is a preliminary document"?
Similarly, I need to test if the index already exists to avoid re-creating it.