diff --git a/src/main/java/com/databasepreservation/common/server/index/utils/SolrUtils.java b/src/main/java/com/databasepreservation/common/server/index/utils/SolrUtils.java index de5d2216..48fb8e2c 100644 --- a/src/main/java/com/databasepreservation/common/server/index/utils/SolrUtils.java +++ b/src/main/java/com/databasepreservation/common/server/index/utils/SolrUtils.java @@ -427,7 +427,7 @@ public static List parseSorter(Sorter sorter) { private static void parseAndConfigureFacets(Facets facets, SolrQuery query) { if (facets != null) { - query.setFacetSort(FacetParams.FACET_SORT_INDEX); + query.setFacetSort(FacetParams.FACET_SORT_COUNT); if (!"".equals(facets.getQuery())) { query.addFacetQuery(facets.getQuery()); }