Skip to content

Apache Lucene open-source search software

LUCENE-7666: Fix typos in lucene-join package info javadoc. (Tom Saleeba via Christine Poerschke)

Christine Poerschkebb9b423cecab
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 17a528e78ff..2e89f3bc90d 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -148,6 +148,11 @@ Build
* LUCENE-7653: Update randomizedtesting to version 2.5.0. (Dawid Weiss)
+Other
+
+* LUCENE-7666: Fix typos in lucene-join package info javadoc.
+ (Tom Saleeba via Christine Poerschke)
+
======================= Lucene 6.4.1 =======================
Bug Fixes
diff --git a/lucene/join/src/java/org/apache/lucene/search/join/package-info.java b/lucene/join/src/java/org/apache/lucene/search/join/package-info.java
index 5b05c1f9c2a..7c7ff671072 100644
--- a/lucene/join/src/java/org/apache/lucene/search/join/package-info.java
+++ b/lucene/join/src/java/org/apache/lucene/search/join/package-info.java
@@ -91,9 +91,9 @@
* </p>
* <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
+ * boolean multipleValuesPerDocument = false; // Set only to true in the case when your fromField has multiple values per document in your index
* String toField = "to"; // Name of the to field
- * ScoreMode scoreMode = ScoreMode.Max // Defines how the scores are translated into the other side of the join.
+ * ScoreMode scoreMode = ScoreMode.Max; // Defines how the scores are translated into the other side of the join.
* Query fromQuery = new TermQuery(new Term("content", searchTerm)); // Query executed to collect from values to join to the to values
*
* Query joinQuery = JoinUtil.createJoinQuery(fromField, multipleValuesPerDocument, toField, fromQuery, fromSearcher, scoreMode);