|
|||||||||
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 class |
TermsFacet.Entry
|
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.Facet |
---|
Facet.Type |
Method Summary | |
---|---|
TermsFacet.ComparatorType |
comparatorType()
The ordering of the results. |
java.util.List<TermsFacet.Entry> |
entries()
The terms and counts. |
java.lang.String |
fieldName()
The field name the terms were extracted from. |
TermsFacet.ComparatorType |
getComparatorType()
The ordering of the results. |
java.util.List<TermsFacet.Entry> |
getEntries()
The terms and counts. |
java.lang.String |
getFieldName()
The field name the terms were extracted from. |
Methods inherited from interface org.elasticsearch.search.facet.Facet |
---|
getName, getType, name, type |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
java.lang.String fieldName()
java.lang.String getFieldName()
TermsFacet.ComparatorType comparatorType()
TermsFacet.ComparatorType getComparatorType()
java.util.List<TermsFacet.Entry> entries()
java.util.List<TermsFacet.Entry> getEntries()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |