Class DocumentStats.FieldStats
java.lang.Object
io.fluxcapacitor.common.api.search.DocumentStats.FieldStats
- Enclosing class:
DocumentStats
Statistical summary for a single document field.
Includes common numeric metrics, or null
if no numeric values were found.
-
Constructor Summary
ConstructorsConstructorDescriptionFieldStats
(List<Document> documents, String path) Constructs aFieldStats
instance by scanning all numeric entries for a given path. -
Method Summary
-
Constructor Details
-
FieldStats
Constructs aFieldStats
instance by scanning all numeric entries for a given path.- Parameters:
documents
- List of documents in the grouppath
- Path of the field to compute stats for
-