From 5644c6aa184c4f2dd9957df12a9665c1128bc25a Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 26 Jan 2012 11:21:26 +0000 Subject: [PATCH] LUCENE-3602: Fixed documentation error. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236143 13f79535-47bb-0310-9956-ffa450edef68 --- .../join/src/java/org/apache/lucene/search/join/package.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/join/src/java/org/apache/lucene/search/join/package.html b/modules/join/src/java/org/apache/lucene/search/join/package.html index f4602509a8a..c5189f4f94f 100644 --- a/modules/join/src/java/org/apache/lucene/search/join/package.html +++ b/modules/join/src/java/org/apache/lucene/search/join/package.html @@ -65,7 +65,7 @@ String toField = "to"; // Name of the to field Query fromQuery = new TermQuery(new Term("content", searchTerm)); // Query executed to collect from values to join to the to values - MultiTermQuery joinQuery = JoinUtil.createJoinQuery(fromField, multipleValuesPerDocument, toField, fromQuery, fromSearcher); + Query joinQuery = JoinUtil.createJoinQuery(fromField, multipleValuesPerDocument, toField, fromQuery, fromSearcher); TopDocs topDocs = toSearcher.search(joinQuery, 10); // Note: toSearcher can be the same as the fromSearcher // Render topDocs...