From 4ff856d994154ca93e6f712625875d5aea63ce13 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sun, 24 Nov 2013 17:12:05 +0000 Subject: [PATCH] SOLR-5488: fix set removal bug git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545009 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/solr/analytics/request/AnalyticsRequestFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++;