public Collection<String> searchTrends(JetwickQuery q, int limit) {
try {
q.addFacetField(TAG);
SearchResponse rsp = query(q);
Facets facets = rsp.facets();
if (facets == null)
return Collections.emptyList();
Set<String> set = new LinkedHashSet<String>();
for (Facet facet : facets.facets()) {
if (facet instanceof TermsFacet) {
TermsFacet ff = (TermsFacet) facet;
for (TermsFacet.Entry e : ff.entries()) {
if (e.count() > limit)
set.add(e.getTerm());