From 2b8ef42a5c5a8509ac404b2cb5312508eb130bc4 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 29 Jun 2011 17:14:13 +0000 Subject: [PATCH] LUCENE-3171: fixup CHANGES, add missing @Override git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1141170 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/contrib/CHANGES.txt | 2 +- .../src/java/org/apache/lucene/search/join/BlockJoinQuery.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); }