2018-04-19 10:51:42,449 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException: index must not be null
	at java.util.Objects.requireNonNull(Unknown Source)
	at org.elasticsearch.action.search.SearchRequest.indices(SearchRequest.java:114)
	at org.elasticsearch.action.search.SearchRequestBuilder.setIndices(SearchRequestBuilder.java:56)
	at org.elasticsearch.client.support.AbstractClient.prepareSearch(AbstractClient.java:535)
	at com.zhiwei.manage.util.ESUtil.getCountByPt(ESUtil.java:138)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:88)
2018-04-19 10:51:56,692 [main] [com.zhiwei.manage.util.ESUtil] [ERROR] - es检索出错，错误信息【{}】
java.lang.NullPointerException: index must not be null
	at java.util.Objects.requireNonNull(Unknown Source)
	at org.elasticsearch.action.search.SearchRequest.indices(SearchRequest.java:114)
	at org.elasticsearch.action.search.SearchRequestBuilder.setIndices(SearchRequestBuilder.java:56)
	at org.elasticsearch.client.support.AbstractClient.prepareSearch(AbstractClient.java:535)
	at com.zhiwei.manage.util.ESUtil.getCountByPt(ESUtil.java:138)
	at com.zhiwei.manage.util.ESUtil.main(ESUtil.java:88)
