org.elasticsearch.search.facet
Class FacetBuilders

java.lang.Object
  extended by org.elasticsearch.search.facet.FacetBuilders

public class FacetBuilders
extends java.lang.Object


Constructor Summary
FacetBuilders()
           
 
Method Summary
static FilterFacetBuilder filterFacet(java.lang.String facetName)
           
static FilterFacetBuilder filterFacet(java.lang.String facetName, XContentFilterBuilder filter)
           
static GeoDistanceFacetBuilder geoDistanceFacet(java.lang.String facetName)
           
static HistogramFacetBuilder histogramFacet(java.lang.String facetName)
           
static HistogramScriptFacetBuilder histogramScriptFacet(java.lang.String facetName)
           
static QueryFacetBuilder queryFacet(java.lang.String facetName)
           
static QueryFacetBuilder queryFacet(java.lang.String facetName, XContentQueryBuilder query)
           
static RangeFacetBuilder rangeFacet(java.lang.String facetName)
           
static RangeScriptFacetBuilder rangeScriptFacet(java.lang.String facetName)
           
static StatisticalFacetBuilder statisticalFacet(java.lang.String facetName)
           
static StatisticalScriptFacetBuilder statisticalScriptFacet(java.lang.String facetName)
           
static TermsFacetBuilder termsFacet(java.lang.String facetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetBuilders

public FacetBuilders()
Method Detail

queryFacet

public static QueryFacetBuilder queryFacet(java.lang.String facetName)

queryFacet

public static QueryFacetBuilder queryFacet(java.lang.String facetName,
                                           XContentQueryBuilder query)

filterFacet

public static FilterFacetBuilder filterFacet(java.lang.String facetName)

filterFacet

public static FilterFacetBuilder filterFacet(java.lang.String facetName,
                                             XContentFilterBuilder filter)

termsFacet

public static TermsFacetBuilder termsFacet(java.lang.String facetName)

statisticalFacet

public static StatisticalFacetBuilder statisticalFacet(java.lang.String facetName)

statisticalScriptFacet

public static StatisticalScriptFacetBuilder statisticalScriptFacet(java.lang.String facetName)

histogramFacet

public static HistogramFacetBuilder histogramFacet(java.lang.String facetName)

histogramScriptFacet

public static HistogramScriptFacetBuilder histogramScriptFacet(java.lang.String facetName)

rangeFacet

public static RangeFacetBuilder rangeFacet(java.lang.String facetName)

rangeScriptFacet

public static RangeScriptFacetBuilder rangeScriptFacet(java.lang.String facetName)

geoDistanceFacet

public static GeoDistanceFacetBuilder geoDistanceFacet(java.lang.String facetName)