From bb9b423cecabc3a441e8119d4e02223f5e7bc395 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Mon, 30 Jan 2017 10:17:39 +0000 Subject: [PATCH] LUCENE-7666: Fix typos in lucene-join package info javadoc. (Tom Saleeba via Christine Poerschke) --- lucene/CHANGES.txt | 5 +++++ .../src/java/org/apache/lucene/search/join/package-info.java | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 @@ *

*
  *   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);