this.future = future;
}
@Override
public void onResponse(SearchResponse searchResponse) {
InternalUpdateFacet facet = searchResponse.getFacets().facet(InternalUpdateFacet.class, UpdateFacet.TYPE);
facet.reduce();
future.set(new RowCountResult(facet.rowCount()));
}