trying facet.method fc instead of fcs to handle large facets

pull/1/head
Michael Peter Christen 11 years ago
parent 041b605cfe
commit 10794e8efd

@ -523,7 +523,7 @@ public abstract class AbstractSolrConnector implements SolrConnector {
params.setFacetMinCount(1); // there are many 0-count facets in the uninverted index cache
params.setFacetLimit(maxresults);
params.setFacetSort(FacetParams.FACET_SORT_COUNT);
params.setParam(FacetParams.FACET_METHOD, FacetParams.FACET_METHOD_fcs);
params.setParam(FacetParams.FACET_METHOD, FacetParams.FACET_METHOD_fc /*FACET_METHOD_fcs*/);
params.setFields(fields);
params.clearSorts();
params.setIncludeScore(false);

Loading…
Cancel
Save