public class TermStats extends Object
TermStatistics
useful for aggregation of
per-shard stats.Modifier and Type | Field and Description |
---|---|
long |
docFreq |
String |
term |
long |
totalTermFreq |
Constructor and Description |
---|
TermStats(String term) |
TermStats(String term,
long docFreq,
long totalTermFreq) |
TermStats(String field,
TermStatistics stats) |
Modifier and Type | Method and Description |
---|---|
void |
add(TermStats stats) |
String |
toString() |
TermStatistics |
toTermStatistics() |
public final String term
public long docFreq
public long totalTermFreq
public TermStats(String term)
public TermStats(String term, long docFreq, long totalTermFreq)
public TermStats(String field, TermStatistics stats)
public void add(TermStats stats)
public TermStatistics toTermStatistics()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.