mirror of https://github.com/apache/lucene.git
LUCENE-7666: Fix typos in lucene-join package info javadoc. (Tom Saleeba via Christine Poerschke)
This commit is contained in:
parent
9d5dc0cf57
commit
bb9b423cec
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue