mirror of https://github.com/apache/lucene.git
SOLR-9436: remove no longer used acceptsDocsOutOfOrder methods (LUCENE-6179 removed out-of-order scoring)
This commit is contained in:
parent
4abbdbe78a
commit
7f3d86524d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue