From 7f3d86524d0fc5cdf5a517eb266b68b49db81be0 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Fri, 26 Aug 2016 13:45:36 +0100 Subject: [PATCH] SOLR-9436: remove no longer used acceptsDocsOutOfOrder methods (LUCENE-6179 removed out-of-order scoring) --- .../apache/solr/search/CollapsingQParserPlugin.java | 10 ---------- .../org/apache/solr/search/TestRankQueryPlugin.java | 4 ---- 2 files changed, 14 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java index b9d292e6443..896387ed056 100644 --- a/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java +++ b/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java @@ -909,11 +909,6 @@ public class CollapsingQParserPlugin extends QParserPlugin { } } - public boolean acceptsDocsOutOfOrder() { - //Documents must be sent in order to this collector. - return false; - } - public void setScorer(Scorer scorer) { this.collapseStrategy.setScorer(scorer); } @@ -1074,11 +1069,6 @@ public class CollapsingQParserPlugin extends QParserPlugin { } } - public boolean acceptsDocsOutOfOrder() { - //Documents must be sent in order to this collector. - return false; - } - public void setScorer(Scorer scorer) { this.collapseStrategy.setScorer(scorer); } diff --git a/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java b/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java index d89569714c4..e3afed313d6 100644 --- a/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java +++ b/solr/core/src/test/org/apache/solr/search/TestRankQueryPlugin.java @@ -691,10 +691,6 @@ public class TestRankQueryPlugin extends QParserPlugin { @Override public void setScorer(Scorer scorer) throws IOException {} - public boolean acceptsDocsOutOfOrder() { - return false; - } - public void collect(int doc) { list.add(new ScoreDoc(doc+base, (float)values.get(doc))); }