org.elasticsearch.search.facet.query
Interface QueryFacet

All Superinterfaces:
Facet
All Known Implementing Classes:
InternalQueryFacet

public interface QueryFacet
extends Facet

A query facets returns the count (number of hits) for a facet based on a query.


Field Summary
static String TYPE
          The type of the filter facet.
 
Method Summary
 long count()
          The count of the facet.
 long getCount()
          The count of the facet.
 
Methods inherited from interface org.elasticsearch.search.facet.Facet
getName, getType, name, type
 

Field Detail

TYPE

static final String TYPE
The type of the filter facet.

See Also:
Constant Field Values
Method Detail

count

long count()
The count of the facet.


getCount

long getCount()
The count of the facet.



Copyright © 2009-2012. All Rights Reserved.