Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

remove commented out code

Grant Ingersoll8c18fd87a1dc
diff --git a/src/java/org/apache/lucene/search/payloads/BoostingTermQuery.java b/src/java/org/apache/lucene/search/payloads/BoostingTermQuery.java
index e9be2906782..aef24604316 100644
--- a/src/java/org/apache/lucene/search/payloads/BoostingTermQuery.java
+++ b/src/java/org/apache/lucene/search/payloads/BoostingTermQuery.java
@@ -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 {
if (!more) {
return false;