lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject lucene-solr:branch_6x: LUCENE-7590: make (Sorted)NumericDocValuesStats public
Date Mon, 19 Dec 2016 08:24:17 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 73b6a29f2 -> f075a673c


LUCENE-7590: make (Sorted)NumericDocValuesStats public


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

Branch: refs/heads/branch_6x
Commit: f075a673c9629e92c1e9dd1e104a4e602d6fe610
Parents: 73b6a29
Author: Shai Erera <shaie@apache.org>
Authored: Mon Dec 19 10:14:58 2016 +0200
Committer: Shai Erera <shaie@apache.org>
Committed: Mon Dec 19 10:19:58 2016 +0200

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/search/DocValuesStats.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f075a673/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java
----------------------------------------------------------------------
diff --git a/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java b/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java
index f97af20..4cbf18d 100644
--- a/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java
+++ b/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java
@@ -46,7 +46,7 @@ public abstract class DocValuesStats<T> {
   }
 
   /**
-   * Called after #{@link DocValuesStats#accumulate(int)} was processed and verified that
the document has a value for
+   * Called after {@link #accumulate(int)} was processed and verified that the document has
a value for
    * the field. Implementations should update the statistics based on the value of the current
document.
    *
    * @param doc
@@ -93,18 +93,18 @@ public abstract class DocValuesStats<T> {
     return missing;
   }
 
-  /** The minimum value of the field. Undefined when {@link #count} is zero. */
+  /** The minimum value of the field. Undefined when {@link #count()} is zero. */
   public final T min() {
     return min;
   }
 
-  /** The maximum value of the field. Undefined when {@link #count} is zero. */
+  /** The maximum value of the field. Undefined when {@link #count()} is zero. */
   public final T max() {
     return max;
   }
 
   /** Holds statistics for a numeric DocValues field. */
-  static abstract class NumericDocValuesStats<T extends Number> extends DocValuesStats<T>
{
+  public static abstract class NumericDocValuesStats<T extends Number> extends DocValuesStats<T>
{
 
     protected double mean = 0.0;
     protected double variance = 0.0;
@@ -205,7 +205,7 @@ public abstract class DocValuesStats<T> {
   }
 
   /** Holds statistics for a sorted-numeric DocValues field. */
-  static abstract class SortedNumericDocValuesStats<T extends Number> extends DocValuesStats<T>
{
+  public static abstract class SortedNumericDocValuesStats<T extends Number> extends
DocValuesStats<T> {
 
     protected long valuesCount = 0;
     protected double mean = 0.0;


Mime
View raw message