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
9bda3e9b55
commit
cdc317131c
|
@ -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) {
|
public void setScorer(Scorer scorer) {
|
||||||
this.collapseStrategy.setScorer(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) {
|
public void setScorer(Scorer scorer) {
|
||||||
this.collapseStrategy.setScorer(scorer);
|
this.collapseStrategy.setScorer(scorer);
|
||||||
}
|
}
|
||||||
|
|
|
@ -691,10 +691,6 @@ public class TestRankQueryPlugin extends QParserPlugin {
|
||||||
@Override
|
@Override
|
||||||
public void setScorer(Scorer scorer) throws IOException {}
|
public void setScorer(Scorer scorer) throws IOException {}
|
||||||
|
|
||||||
public boolean acceptsDocsOutOfOrder() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void collect(int doc) {
|
public void collect(int doc) {
|
||||||
list.add(new ScoreDoc(doc+base, (float)values.get(doc)));
|
list.add(new ScoreDoc(doc+base, (float)values.get(doc)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue