org.elasticsearch.search.facet.termsstats
Interface TermsStatsFacet

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

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


Nested Class Summary
static class TermsStatsFacet.ComparatorType
          Controls how the terms facets are ordered.
static interface TermsStatsFacet.Entry
           
 
Field Summary
static String TYPE
           
 
Method Summary
 List<? extends TermsStatsFacet.Entry> entries()
          The terms and counts.
 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 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

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


getEntries

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



Copyright © 2009-2012. All Rights Reserved.