@Override public void close() throws ElasticSearchException { filterCache.close(); fieldDataCache.close(); idCache.close(); queryParserCache.close(); if (clusterService != null) { clusterService.remove(this); } }