You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2016/06/09 14:18:17 UTC

[1/2] lucene-solr:master: LUCENE-4787: Fixed some highlighting javadocs.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 7a4565e29 -> bd7689b74
  refs/heads/master 3de727786 -> 09fd65b01


LUCENE-4787: Fixed some highlighting javadocs.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/09fd65b0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/09fd65b0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/09fd65b0

Branch: refs/heads/master
Commit: 09fd65b0150364b2e82d1f9ab954751a38653f45
Parents: 3de7277
Author: Adrien Grand <jp...@gmail.com>
Authored: Thu Jun 9 16:17:25 2016 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Thu Jun 9 16:17:25 2016 +0200

----------------------------------------------------------------------
 lucene/CHANGES.txt                                            | 7 ++++++-
 .../org/apache/lucene/search/highlight/GradientFormatter.java | 2 +-
 .../java/org/apache/lucene/search/highlight/package-info.java | 4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09fd65b0/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 7e29d1d..af74c26 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -10,7 +10,12 @@ http://s.apache.org/luceneversions
 
 Bug Fixes
 
-LUCENE-6662: Fixed potential resource leaks. (Rishabh Patel via Adrien Grand)
+* LUCENE-6662: Fixed potential resource leaks. (Rishabh Patel via Adrien Grand)
+
+Other
+
+* LUCENE-4787: Fixed some highlighting javadocs. (Michael Dodsworth via Adrien
+  Grand)
 
 ======================= Lucene 6.1.0 =======================
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09fd65b0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
index 7212f41..8d4250a 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
@@ -40,7 +40,7 @@ public class GradientFormatter implements Formatter
      * Sets the color range for the IDF scores
      * 
      * @param maxScore
-     *            The score (and above) displayed as maxColor (See QueryScorer.getMaxWeight 
+     *            The score (and above) displayed as maxColor (See {@link QueryScorer#getMaxTermWeight()} 
      *         which can be used to calibrate scoring scale)
      * @param minForegroundColor
      *            The hex color used for representing IDF scores of zero eg

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09fd65b0/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
index a435ff5..ba6e21a 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
@@ -86,10 +86,10 @@
  * A subtle use of color can help emphasise the reasons for matching (useful when doing "MoreLikeThis" queries and
  * you want to see what the basis of the similarities are).</p>
  * 
- * <p>The QueryScorer class has a new constructor which can use an IndexReader to derive the IDF (inverse document frequency)
+ * <p>The QueryScorer class has constructors that use an IndexReader to derive the IDF (inverse document frequency)
  * for each term in order to influence the score. This is useful for helping to extracting the most significant sections
  * of a document and in supplying scores used by the new GradientFormatter to color significant words more strongly.
- * The QueryScorer.getMaxWeight method is useful when passed to the GradientFormatter constructor to define the top score
+ * The QueryScorer.getMaxTermWeight method is useful when passed to the GradientFormatter constructor to define the top score
  * which is associated with the top color.</p>
  */
 package org.apache.lucene.search.highlight;


[2/2] lucene-solr:branch_6x: LUCENE-4787: Fixed some highlighting javadocs.

Posted by jp...@apache.org.
LUCENE-4787: Fixed some highlighting javadocs.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/bd7689b7
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/bd7689b7
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/bd7689b7

Branch: refs/heads/branch_6x
Commit: bd7689b74de0c3201391e1f7d3b254b7cf3513e4
Parents: 7a4565e
Author: Adrien Grand <jp...@gmail.com>
Authored: Thu Jun 9 16:17:25 2016 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Thu Jun 9 16:17:50 2016 +0200

----------------------------------------------------------------------
 lucene/CHANGES.txt                                            | 7 ++++++-
 .../org/apache/lucene/search/highlight/GradientFormatter.java | 2 +-
 .../java/org/apache/lucene/search/highlight/package-info.java | 4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bd7689b7/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 13948c4..a0379bb 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -7,7 +7,12 @@ http://s.apache.org/luceneversions
 
 Bug Fixes
 
-LUCENE-6662: Fixed potential resource leaks. (Rishabh Patel via Adrien Grand)
+* LUCENE-6662: Fixed potential resource leaks. (Rishabh Patel via Adrien Grand)
+
+Other
+
+* LUCENE-4787: Fixed some highlighting javadocs. (Michael Dodsworth via Adrien
+  Grand)
 
 ======================= Lucene 6.1.0 =======================
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bd7689b7/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
index 7212f41..8d4250a 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
@@ -40,7 +40,7 @@ public class GradientFormatter implements Formatter
      * Sets the color range for the IDF scores
      * 
      * @param maxScore
-     *            The score (and above) displayed as maxColor (See QueryScorer.getMaxWeight 
+     *            The score (and above) displayed as maxColor (See {@link QueryScorer#getMaxTermWeight()} 
      *         which can be used to calibrate scoring scale)
      * @param minForegroundColor
      *            The hex color used for representing IDF scores of zero eg

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bd7689b7/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
index a435ff5..ba6e21a 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/highlight/package-info.java
@@ -86,10 +86,10 @@
  * A subtle use of color can help emphasise the reasons for matching (useful when doing "MoreLikeThis" queries and
  * you want to see what the basis of the similarities are).</p>
  * 
- * <p>The QueryScorer class has a new constructor which can use an IndexReader to derive the IDF (inverse document frequency)
+ * <p>The QueryScorer class has constructors that use an IndexReader to derive the IDF (inverse document frequency)
  * for each term in order to influence the score. This is useful for helping to extracting the most significant sections
  * of a document and in supplying scores used by the new GradientFormatter to color significant words more strongly.
- * The QueryScorer.getMaxWeight method is useful when passed to the GradientFormatter constructor to define the top score
+ * The QueryScorer.getMaxTermWeight method is useful when passed to the GradientFormatter constructor to define the top score
  * which is associated with the top color.</p>
  */
 package org.apache.lucene.search.highlight;