|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TermsFacet
Terms facet allows to return facets of the most popular terms within the search query.
Nested Class Summary | |
---|---|
static class |
TermsFacet.ComparatorType
Controls how the terms facets are ordered. |
static interface |
TermsFacet.Entry
|
Field Summary | |
---|---|
static String |
TYPE
The type of the filter facet. |
Method Summary | |
---|---|
List<? extends TermsFacet.Entry> |
entries()
The terms and counts. |
List<? extends TermsFacet.Entry> |
getEntries()
The terms and counts. |
long |
getMissingCount()
The number of docs missing a value. |
long |
getOtherCount()
The count of terms other than the one provided by the entries. |
long |
getTotalCount()
The total count of terms. |
long |
missingCount()
The number of docs missing a value. |
long |
otherCount()
The count of terms other than the one provided by the entries. |
long |
totalCount()
The total count of terms. |
Methods inherited from interface org.elasticsearch.search.facet.Facet |
---|
getName, getType, name, type |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Field Detail |
---|
static final String TYPE
Method Detail |
---|
long missingCount()
long getMissingCount()
long totalCount()
long getTotalCount()
long otherCount()
long getOtherCount()
List<? extends TermsFacet.Entry> entries()
List<? extends TermsFacet.Entry> getEntries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |