mirror of https://github.com/apache/lucene.git
remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07e7b557fe
commit
8c18fd87a1
|
@ -81,32 +81,6 @@ public class BoostingTermQuery extends SpanTermQuery{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Go to the next document
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
/*public boolean next() throws IOException {
|
|
||||||
|
|
||||||
boolean result = super.next();
|
|
||||||
//set the payload. super.next() properly increments the term positions
|
|
||||||
if (result) {
|
|
||||||
//Load the payloads for all
|
|
||||||
processPayload();
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean skipTo(int target) throws IOException {
|
|
||||||
boolean result = super.skipTo(target);
|
|
||||||
|
|
||||||
if (result) {
|
|
||||||
processPayload();
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
protected boolean setFreqCurrentDoc() throws IOException {
|
protected boolean setFreqCurrentDoc() throws IOException {
|
||||||
if (!more) {
|
if (!more) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue