FacetBy


with_intervals_of

Specifies an interval by which a numeric facet will be divided.

Syntax

facet_by with_intervals_of(number size)
facet_bymodified facet by request

with_maximum_of

Specifies the upper bound on the facet. Only numeric fields less than or equal to this value are returned.

Syntax

facet_by with_maximum_of(number size)
facet_bymodified facet by request

with_minimum_of

Specify the lower bound on the facet. Only numeric fields greater than or equal to this value are returned.

Syntax

facet_by with_minimum_of(number size)
facet_bymodified facet by request

without_pruning

By default nested facets are pruned if they are below the top level with multiple facet values. This option will force this facet to be computed when its parents are.

Syntax

facet_by without_pruning
facet_bymodified facet by request

with_or_logic

Specifies OR logic to be used when combining multiple facet values. OR logic is not currently compatible with the following range methods: with_maximum_of, with_minimum_of, with_intervals_of

Syntax

facet_by with_or_logic
facet_bymodified facet by request

with_and_logic

Specifies AND logic to be used when combining multiple facet values.

Syntax

facet_by with_and_logic
facet_bymodified facet by request

restricted_by_all_selections

When a value from this facet is selected, it will limit the values for this facet and other facets.

Syntax

facet_by restricted_by_all_selections
facet_bymodified facet by request

restricted_by_other_selections

When a value from this facet is selected, it will limit the values for other facets, but not this facet.

Syntax

facet_by restricted_by_other_selections
facet_bymodified facet by request

with_separator

Specifies a separator to split a single field into a hierarchy of values.

Syntax

facet_by with_separator(string separator)
facet_bymodified facet by request

with_maximum_facet_values_of

Specifies the maximum number of returnable facet values for a facet.

Syntax

facet_by with_maximum_facet_values_of(number size)
facet_bymodified facet by request

with_facet_id

Specifies a facet_id by which the resulting facet can be retrievable from.

Syntax

facet_by with_facet_id(string facet_id)
facet_bymodified facet by request

and

Combines sibling facets.

Syntax

associative_operator and(facet_by/data_method facet_by)
associative_operatormodified facet by request

then

Combines nested facets.

Syntax

associative_operator then(facet_by/data_method facet_by)
associative_operatormodified facet by request