I have java code that index documents.
This code worked fine when I worked with index name for the indexing.
Now I switched to use alias instead of index name and I started to get
org.elasticsearch.action.UnavailableShardsException [index] 
shardIt,  active : Timeout waiting for [1m], request: index
My index cluster is one computer (localhost), the connection to es is
fine and I can create index and alias.
But indexing doc is failed.
May be my usage of the alias instead of index name is wrong for
indexing doc ?