fluid-api/src/main/java/com/fluidbpm/program/api/util/elasticsearch/ABaseESUtil.java
public boolean doesIndexExist(String indexToCheckParam) {
		if(indexToCheckParam == null || indexToCheckParam.trim().isEmpty()) {
			return false;
		}

		if(this.client == null) {
			throw new FluidElasticSearchException(
					"ElasticSearch client is not initialized.");
		}

		return this.client.admin().cluster()
				.prepareState().execute()
				.actionGet().getState()
				.getMetaData().hasIndex(indexToCheckParam);
	}
public boolean doesIndexExist(String indexToCheckParam) {
		if(indexToCheckParam == null || indexToCheckParam.trim().isEmpty()) {
			return false;
		}

		if(this.client == null) {
			throw new FluidElasticSearchException(
					"ElasticSearch client is not initialized.");
		}

		return this.client.admin().cluster()
				.prepareState().execute()
				.actionGet().getState()
				.getMetaData().hasIndex(indexToCheckParam);
	}
Confirms whether index with the name {@code indexToCheckParam} exists.

@param indexToCheckParam ElasticSearch index to check for existance.
@return {@code true} if ElasticSearch index {@code indexToCheckParam} exists, otherwise {@code false}.