remove obsolete scorer methods

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2010-09-24 00:53:21 +00:00
parent cce20cd820
commit 791d14061b
1 changed files with 1 additions and 22 deletions

View File

@ -227,31 +227,10 @@ class ValueSourceScorer extends Scorer {
return nextDoc();
}
public int doc() {
return doc;
}
public boolean next() {
for (; ;) {
doc++;
if (doc >= maxDoc) return false;
if (matches(doc)) return true;
}
}
public boolean skipTo(int target) {
doc = target - 1;
return next();
}
@Override
public float score() throws IOException {
return values.floatVal(doc);
}
public Explanation explain(int doc) throws IOException {
return values.explain(doc);
}
}