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 b6449cca1ad..f3319ee97fd 100644 --- a/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java +++ b/lucene/misc/src/java/org/apache/lucene/search/DocValuesStats.java @@ -44,7 +44,7 @@ public abstract class DocValuesStats { } /** - * 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 count @@ -89,18 +89,18 @@ public abstract class DocValuesStats { 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 extends DocValuesStats { + public static abstract class NumericDocValuesStats extends DocValuesStats { protected double mean = 0.0; protected double variance = 0.0; @@ -205,7 +205,7 @@ public abstract class DocValuesStats { } /** Holds statistics for a sorted-numeric DocValues field. */ - static abstract class SortedNumericDocValuesStats extends DocValuesStats { + public static abstract class SortedNumericDocValuesStats extends DocValuesStats { protected long valuesCount = 0; protected double mean = 0.0;