: Should this refer to facet.mincount instead of facet.limit? : "The default is true if facet.limit is greater than 0, false otherwise."
No ... if you are limiting the number of total facet constraints you are interested in to N, then we assume you want to sort them and get the highest N. (as opposed to a random set of N) facet.mincount is a way of filtering out any constraint whose count is below a threshold, but it doesn't influence constraint sorting. >From SimpleFacets... // default to sorting if there is a limit. boolean sort = params.getFieldBool(field, FacetParams.FACET_SORT, limit>0); -Hoss