[#62,facets,backend][xs]: limit facet on memory backend to 10 by default.

This commit is contained in:
Rufus Pollock 2012-04-01 18:22:01 +01:00
parent 56285f0a07
commit f51450ef7b

View File

@ -168,6 +168,7 @@ this.recline.Backend = this.recline.Backend || {};
// want descending order
return -item.count;
});
tmp.terms = tmp.terms.slice(0, 10);
});
return facetResults;
}