You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mv...@apache.org on 2012/01/20 15:15:42 UTC

svn commit: r1233918 - /lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html

Author: mvg
Date: Fri Jan 20 14:15:42 2012
New Revision: 1233918

URL: http://svn.apache.org/viewvc?rev=1233918&view=rev
Log:
LUCENE-3602: Fixed some typos.

Modified:
    lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html

Modified: lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html?rev=1233918&r1=1233917&r2=1233918&view=diff
==============================================================================
--- lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html (original)
+++ lucene/dev/trunk/modules/join/src/java/org/apache/lucene/search/join/package.html Fri Jan 20 14:15:42 2012
@@ -42,7 +42,7 @@
 <h2>Search-time joins</h2>
 
 <p>
-  The query time joining is terms based and implemented as two pass search. The first pass collects all the terms from a fromField
+  The query time joining is index term based and implemented as two pass search. The first pass collects all the terms from a fromField
   that match the fromQuery. The second pass returns all documents that have matching terms in a toField to the terms
   collected in the first pass.
 </p>
@@ -62,7 +62,7 @@
 <pre class="prettyprint">
   String fromField = "from"; // Name of the from field
   boolean multipleValuesPerDocument = false; // Set only yo true in the case when your fromField has multiple values per document in your index
-  String fromField = "to"; // Name of the to field
+  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);