org.elasticsearch.search.facet.termsstats
Interface TermsStatsFacet

All Superinterfaces:
Facet, java.lang.Iterable<TermsStatsFacet.Entry>
All Known Implementing Classes:
InternalTermsStatsDoubleFacet, InternalTermsStatsFacet, InternalTermsStatsLongFacet, InternalTermsStatsStringFacet

public interface TermsStatsFacet
extends Facet, java.lang.Iterable<TermsStatsFacet.Entry>


Nested Class Summary
static class TermsStatsFacet.ComparatorType
          Controls how the terms facets are ordered.
static interface TermsStatsFacet.Entry
           
 
Field Summary
static java.lang.String TYPE
           
 
Method Summary
 java.util.List<? extends TermsStatsFacet.Entry> entries()
          The terms and counts.
 java.util.List<? extends TermsStatsFacet.Entry> getEntries()
          The terms and counts.
 long getMissingCount()
          The number of docs missing a value.
 long missingCount()
          The number of docs missing a value.
 
Methods inherited from interface org.elasticsearch.search.facet.Facet
getName, getType, name, type
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

TYPE

static final java.lang.String TYPE
See Also:
Constant Field Values
Method Detail

missingCount

long missingCount()
The number of docs missing a value.


getMissingCount

long getMissingCount()
The number of docs missing a value.


entries

java.util.List<? extends TermsStatsFacet.Entry> entries()
The terms and counts.


getEntries

java.util.List<? extends TermsStatsFacet.Entry> getEntries()
The terms and counts.