diff --git a/solr/core/src/java/org/apache/solr/analytics/request/AnalyticsRequestFactory.java b/solr/core/src/java/org/apache/solr/analytics/request/AnalyticsRequestFactory.java index 1c8142a97c0..62fa7345601 100644 --- a/solr/core/src/java/org/apache/solr/analytics/request/AnalyticsRequestFactory.java +++ b/solr/core/src/java/org/apache/solr/analytics/request/AnalyticsRequestFactory.java @@ -295,7 +295,7 @@ public class AnalyticsRequestFactory implements AnalyticsParams { Set depends = queryFacet.getDependencies(); int place = 0; for (QueryFacetRequest qfr : currentList) { - if (qfr.getDependencies().remove(queryFacet)) { + if (qfr.getDependencies().remove(queryFacet.getName())) { break; } place++;