Build a field range facet.
since eZ Platform 3.2.0, to be removed in Ibexa 4.0.0.
If provided the search service returns a FieldRangeFacet for the given field path. A field path starts with a field identifier and may contain a subpath in the case of complex field types
Tags
Properties¶
$fieldPath¶
The field path starts with a field identifier and a sub path (for complex types).
|
|
$filter¶
An additional facet filter that will further filter the documents the facet will be executed on.
|
|
$global¶
If true the facet runs in a global mode not restricted by the query.
|
|
$limit¶
Number of facets (terms) returned.
|
|
$minCount¶
Specifies the minimum count. Only facet groups with more or equal results are returned.
|
|
$name¶
The name of the facet.
|
|
Methods¶
__construct() ¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
addRange() ¶
Adds a range.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$from | mixed | - | - |
$to | mixed | - | - |
addUnboundedFrom() ¶
Adds a range entry with explicit to and unbounded from.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$to | mixed | - | - |
addUnboundedTo() ¶
Adds a range entry with explicit from and unbounded to.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$from | mixed | - | - |
getProperties() ¶
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>