Refs#4708 Create a short index name for cases where auto-generated index name is too long
Refs#4708 printing an error message before retrying a shorter index name
Merge pull request #1 from Elastica/private-chaks-4708

Private chaks 4708