mirror of https://github.com/apache/lucene.git
lucene-monitor: remove now-unused Scorable in QueryIndex.DataValues (#13412)
This commit is contained in:
parent
9ecf566cca
commit
8dad226afa
|
@ -34,7 +34,6 @@ import org.apache.lucene.index.Terms;
|
|||
import org.apache.lucene.index.TermsEnum;
|
||||
import org.apache.lucene.search.MatchAllDocsQuery;
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.apache.lucene.search.Scorable;
|
||||
import org.apache.lucene.search.ScoreMode;
|
||||
import org.apache.lucene.search.SearcherManager;
|
||||
import org.apache.lucene.search.TermQuery;
|
||||
|
@ -123,7 +122,6 @@ abstract class QueryIndex implements Closeable {
|
|||
SortedDocValues cacheId;
|
||||
BinaryDocValues mq;
|
||||
Weight weight;
|
||||
Scorable scorer;
|
||||
LeafReaderContext ctx;
|
||||
int docID;
|
||||
|
||||
|
|
|
@ -160,11 +160,6 @@ class ReadonlyQueryIndex extends QueryIndex {
|
|||
this.dataValues.weight = weight;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setScorer(Scorable scorer) {
|
||||
this.dataValues.scorer = scorer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void collect(int doc) throws IOException {
|
||||
dataValues.advanceTo(doc);
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.lucene.index.Term;
|
|||
import org.apache.lucene.search.IndexSearcher;
|
||||
import org.apache.lucene.search.MatchAllDocsQuery;
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.apache.lucene.search.Scorable;
|
||||
import org.apache.lucene.search.ScoreMode;
|
||||
import org.apache.lucene.search.SearcherManager;
|
||||
import org.apache.lucene.search.SimpleCollector;
|
||||
|
@ -369,11 +368,6 @@ class WritableQueryIndex extends QueryIndex {
|
|||
this.dataValues.weight = weight;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setScorer(Scorable scorer) {
|
||||
this.dataValues.scorer = scorer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void collect(int doc) throws IOException {
|
||||
dataValues.advanceTo(doc);
|
||||
|
|
Loading…
Reference in New Issue