diff --git a/src/java/org/apache/lucene/search/payloads/PayloadNearQuery.java b/src/java/org/apache/lucene/search/payloads/PayloadNearQuery.java index 3161e42dbe8..36e76b8e868 100644 --- a/src/java/org/apache/lucene/search/payloads/PayloadNearQuery.java +++ b/src/java/org/apache/lucene/search/payloads/PayloadNearQuery.java @@ -144,11 +144,6 @@ public class PayloadNearQuery extends SpanNearQuery { super(query, searcher); } - public Scorer scorer(IndexReader reader) throws IOException { - return new PayloadNearSpanScorer(query.getSpans(reader), this, - similarity, reader.norms(query.getField())); - } - @Override public Scorer scorer(IndexReader reader, boolean scoreDocsInOrder, boolean topScorer) throws IOException {