public interface FacetParams
Modifier and Type | Interface and Description |
---|---|
static class |
FacetParams.FacetDateOther
Deprecated.
|
static class |
FacetParams.FacetRangeInclude
An enumeration of the legal values for
FACET_DATE_INCLUDE and FACET_RANGE_INCLUDE
lower = all gap based ranges include their lower bound
upper = all gap based ranges include their upper bound
edge = the first and last gap ranges include their edge bounds (ie: lower
for the first one, upper for the last one) even if the corrisponding
upper/lower option is not specified
outer = the BEFORE and AFTER ranges
should be inclusive of their bounds, even if the first or last ranges
already include thouse boundaries. |
static class |
FacetParams.FacetRangeOther
An enumeration of the legal values for
FACET_RANGE_OTHER and FACET_DATE_OTHER ... |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FACET
Should facet counts be calculated?
|
static java.lang.String |
FACET_DATE
Any field whose terms the user wants to enumerate over for
Facet Contraint Counts (multi-value)
|
static java.lang.String |
FACET_DATE_END
Date string indicating the endinging point for a date facet range.
|
static java.lang.String |
FACET_DATE_GAP
Date Math string indicating the interval of sub-ranges for a date
facet range.
|
static java.lang.String |
FACET_DATE_HARD_END
Boolean indicating how counts should be computed if the range
between 'start' and 'end' is not evenly divisible by 'gap'.
|
static java.lang.String |
FACET_DATE_INCLUDE
Multivalued string indicating what rules should be applied to determine
when the the ranges generated for date faceting should be inclusive or
exclusive of their end points.
|
static java.lang.String |
FACET_DATE_OTHER
String indicating what "other" ranges should be computed for a
date facet range (multi-value).
|
static java.lang.String |
FACET_DATE_START
Date string indicating the starting point for a date facet range.
|
static java.lang.String |
FACET_ENUM_CACHE_MINDF
When faceting by enumerating the terms in a field,
only use the filterCache for terms with a df >= to this parameter.
|
static java.lang.String |
FACET_FIELD
Any field whose terms the user wants to enumerate over for
Facet Constraint Counts (multi-value)
|
static java.lang.String |
FACET_LIMIT
Numeric option indicating the maximum number of facet field counts
be included in the response for each field - in descending order of count.
|
static java.lang.String |
FACET_METHOD
What method should be used to do the faceting
|
static java.lang.String |
FACET_METHOD_enum
Value for FACET_METHOD param to indicate that Solr should enumerate over terms
in a field to calculate the facet counts.
|
static java.lang.String |
FACET_METHOD_fc
Value for FACET_METHOD param to indicate that Solr should enumerate over documents
and count up terms by consulting an uninverted representation of the field values
(such as the FieldCache used for sorting).
|
static java.lang.String |
FACET_MINCOUNT
Numeric option indicating the minimum number of hits before a facet should
be included in the response.
|
static java.lang.String |
FACET_MISSING
Boolean option indicating whether the response should include a
facet field count for all records which have no value for the
facet field.
|
static java.lang.String |
FACET_OFFSET
The offset into the list of facets.
|
static java.lang.String |
FACET_PREFIX
Only return constraints of a facet field with the given prefix.
|
static java.lang.String |
FACET_QUERY
Any lucene formated queries the user would like to use for
Facet Constraint Counts (multi-value)
|
static java.lang.String |
FACET_RANGE
Any numerical field whose terms the user wants to enumerate over
Facet Contraint Counts for selected ranges.
|
static java.lang.String |
FACET_RANGE_END
Number indicating the ending point for a numerical range facet.
|
static java.lang.String |
FACET_RANGE_GAP
Number indicating the interval of sub-ranges for a numerical
facet range.
|
static java.lang.String |
FACET_RANGE_HARD_END
Boolean indicating how counts should be computed if the range
between 'start' and 'end' is not evenly divisible by 'gap'.
|
static java.lang.String |
FACET_RANGE_INCLUDE
Multivalued string indicating what rules should be applied to determine
when the the ranges generated for numeric faceting should be inclusive or
exclusive of their end points.
|
static java.lang.String |
FACET_RANGE_OTHER
String indicating what "other" ranges should be computed for a
numerical range facet (multi-value).
|
static java.lang.String |
FACET_RANGE_START
Number indicating the starting point for a numerical range facet.
|
static java.lang.String |
FACET_SORT
String option: "count" causes facets to be sorted
by the count, "index" results in index order.
|
static java.lang.String |
FACET_SORT_COUNT |
static java.lang.String |
FACET_SORT_COUNT_LEGACY |
static java.lang.String |
FACET_SORT_INDEX |
static java.lang.String |
FACET_SORT_INDEX_LEGACY |
static java.lang.String |
FACET_ZEROS
Boolean option indicating whether facet field counts of "0" should
be included in the response.
|
static final java.lang.String FACET
static final java.lang.String FACET_METHOD
static final java.lang.String FACET_METHOD_enum
static final java.lang.String FACET_METHOD_fc
static final java.lang.String FACET_QUERY
static final java.lang.String FACET_FIELD
static final java.lang.String FACET_OFFSET
static final java.lang.String FACET_LIMIT
static final java.lang.String FACET_MINCOUNT
static final java.lang.String FACET_ZEROS
static final java.lang.String FACET_MISSING
static final java.lang.String FACET_SORT
static final java.lang.String FACET_SORT_COUNT
static final java.lang.String FACET_SORT_COUNT_LEGACY
static final java.lang.String FACET_SORT_INDEX
static final java.lang.String FACET_SORT_INDEX_LEGACY
static final java.lang.String FACET_PREFIX
static final java.lang.String FACET_ENUM_CACHE_MINDF
static final java.lang.String FACET_DATE
static final java.lang.String FACET_DATE_START
static final java.lang.String FACET_DATE_END
static final java.lang.String FACET_DATE_GAP
static final java.lang.String FACET_DATE_HARD_END
static final java.lang.String FACET_DATE_OTHER
FacetParams.FacetRangeOther
,
Constant Field Valuesstatic final java.lang.String FACET_DATE_INCLUDE
Multivalued string indicating what rules should be applied to determine when the the ranges generated for date faceting should be inclusive or exclusive of their end points.
The default value if none are specified is: [lower,upper,edge] (NOTE: This is different then FACET_RANGE_INCLUDE)
Can be overriden on a per field basis.
static final java.lang.String FACET_RANGE
static final java.lang.String FACET_RANGE_START
static final java.lang.String FACET_RANGE_END
static final java.lang.String FACET_RANGE_GAP
static final java.lang.String FACET_RANGE_HARD_END
static final java.lang.String FACET_RANGE_OTHER
static final java.lang.String FACET_RANGE_INCLUDE
Multivalued string indicating what rules should be applied to determine when the the ranges generated for numeric faceting should be inclusive or exclusive of their end points.
The default value if none are specified is: lower
Can be overriden on a per field basis.