On Thu, Aug 6, 2015, at 06:56 PM, Toke Eskildsen wrote: > Upayavira <u...@odoko.co.uk> wrote: > > Also, attempting to facet across a large number of docs is going to take > > some time. Perhaps you might gain some performance benefit by sharding > > your index? > > One should be aware that distributed faceting on String fields has a > non-trivial overhead: It is a two-phase system, where the first phase is > a bit heavier than a non-distributed faceting call and the second phase > varies (depending on corpus and query) between being lighter and even > heavier. > > If faceting performance is the problem, it is quite possible to end up > with worse overall performance by changing from a single-shard setup to a > multi-shard one. As always, measure.
Depending upon the cardinality of your facets, for sure. As you say, measure. Upayavira