public static enum Facets.FacetGroupingMethod extends Enum<Facets.FacetGroupingMethod>
 Default value is HEADER_DOC}
| Enum Constant and Description | 
|---|
HEADER_DOC
Switches grouped field facet counts to be based on header docs after collapse. 
 | 
UNIQUE
Switches grouped field facet counts to be based on number of groups which contain at least one document
 with a given value of a facet field. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
toString()  | 
static Facets.FacetGroupingMethod | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Facets.FacetGroupingMethod[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Facets.FacetGroupingMethod UNIQUE
This could be very costly in a case when a facet field is a high cardinality field and a group fields is a high cardinality field.
public static final Facets.FacetGroupingMethod HEADER_DOC
Default value
public static Facets.FacetGroupingMethod[] values()
for (Facets.FacetGroupingMethod c : Facets.FacetGroupingMethod.values()) System.out.println(c);
public static Facets.FacetGroupingMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Facets.FacetGroupingMethod>