Skip to content

Apache Lucene open-source search software

Fix minor bug that snuck in with LUCENE-9952

Greg Millereaf3cb67397a
diff --git a/lucene/facet/src/java/org/apache/lucene/facet/sortedset/ConcurrentSortedSetDocValuesFacetCounts.java b/lucene/facet/src/java/org/apache/lucene/facet/sortedset/ConcurrentSortedSetDocValuesFacetCounts.java
index 928da66ea82..8d9238cf07e 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/sortedset/ConcurrentSortedSetDocValuesFacetCounts.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/sortedset/ConcurrentSortedSetDocValuesFacetCounts.java
@@ -130,7 +130,7 @@ public class ConcurrentSortedSetDocValuesFacetCounts extends Facets {
// child:
childIt.next();
}
- return getPathResult(dimConfig, dim, null, -dimOrd, childIt, topN);
+ return getPathResult(dimConfig, dim, null, dimOrd, childIt, topN);
}
}