Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-3171: fixup CHANGES, add missing @Override

Michael McCandless2b8ef42a5c5a
diff --git a/lucene/contrib/CHANGES.txt b/lucene/contrib/CHANGES.txt
index c53a28e9deb..79e0dde45e5 100644
--- a/lucene/contrib/CHANGES.txt
+++ b/lucene/contrib/CHANGES.txt
@@ -70,7 +70,7 @@ New Features
new contrib/join module, to enable searches that require joining
between parent and child documents. Joined (children + parent)
documents must be indexed as a document block, using
- IndexWriter.add/UpdateDocuments ((Mark Harwood, Mike McCandless)
+ IndexWriter.add/UpdateDocuments (Mark Harwood, Mike McCandless)
API Changes
diff --git a/modules/join/src/java/org/apache/lucene/search/join/BlockJoinQuery.java b/modules/join/src/java/org/apache/lucene/search/join/BlockJoinQuery.java
index 8ec62eee5c5..a066d1eba26 100644
--- a/modules/join/src/java/org/apache/lucene/search/join/BlockJoinQuery.java
+++ b/modules/join/src/java/org/apache/lucene/search/join/BlockJoinQuery.java
@@ -108,6 +108,7 @@ public class BlockJoinQuery extends Query {
this.scoreMode = scoreMode;
}
+ @Override
public Weight createWeight(IndexSearcher searcher) throws IOException {
return new BlockJoinWeight(this, childQuery.createWeight(searcher), parentsFilter, scoreMode);
}