Apache Solr open-source search software
LUCENE-3602: Fixed some typos.
Martijn van Groningenac8befe5c38a
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.htmlindex 0cd5cd86a64..f4602509a8a 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@@ -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 fromFieldthat match the fromQuery. The second pass returns all documents that have matching terms in a toField to the termscollected in the first pass.</p>@@ -62,7 +62,7 @@<pre class="prettyprint">String fromField = "from"; // Name of the from fieldboolean 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 fieldQuery fromQuery = new TermQuery(new Term("content", searchTerm)); // Query executed to collect from values to join to the to valuesMultiTermQuery joinQuery = JoinUtil.createJoinQuery(fromField, multipleValuesPerDocument, toField, fromQuery, fromSearcher);