HashedStringsFacetCollector.OUTPUT_MODE.TERM;
}
IndexService indexService = indicesService.indexService(context.indexShard().shardId().getIndex());
HashedStringFieldSettings fieldSettings = indexService.shardInjectorSafe(context.indexShard().shardId().id()).
getInstance(HashedStringFieldSettings.class);
HashedStringFieldSettings.FieldTypeFactory fieldTypeFactory = fieldSettings.fieldTypeFactory;
return new HashedStringsFacetCollector(facetName, field, size, fetch_size, comparatorType, allTerms,