title: Creating elastic search document by using Alias with Java RestHighLevelClient
body: <p>I'm trying to create document in elastic search using Alias with the help of Java RestHighLevelClient.</p>
  <p>IndexName = items-0 (suffix is indent to increment over time)<br />
  Alias = write-inventory-items</p>
  <p>I've created this alias to the index. Since I'm planning to update in index name during reindexing, I don't want to depend on the indexName.</p>
  <p>Looks like it's a simple use case, but I'm not able to find any way to do it.</p>