SOLR-9436: remove no longer used acceptsDocsOutOfOrder methods (LUCENE-6179 removed out-of-order scoring)

This commit is contained in:
Christine Poerschke 2016-08-26 13:45:36 +01:00
parent 4abbdbe78a
commit 7f3d86524d
2 changed files with 0 additions and 14 deletions

View File

@ -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);
}

View File

@ -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)));
}