filter = "streams:" + streamId;
}
try {
UniversalSearch search = searchFactory.queryWithRangeAndFilter(q, timerange, filter);
FieldTermsResponse terms = search.fieldTerms(field);
Map<String, Object> result = Maps.newHashMap();
result.put("total", terms.total);
result.put("missing", terms.missing);
result.put("time", terms.time);