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
            ¶
        $fieldPath
            ¶
    
        The field path starts with a field identifier and a sub path (for complex types).
|  |  | 
                 $filter
            ¶
        $filter
            ¶
    
        An additional facet filter that will further filter the documents the facet will be executed on.
|  |  | 
                 $global
            ¶
        $global
            ¶
    
        If true the facet runs in a global mode not restricted by the query.
|  |  | 
                 $limit
            ¶
        $limit
            ¶
    
        Number of facets (terms) returned.
|  |  | 
                 $minCount
            ¶
        $minCount
            ¶
    
        Specifies the minimum count. Only facet groups with more or equal results are returned.
|  |  | 
                 $name
            ¶
        $name
            ¶
    
        The name of the facet.
|  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        Construct object optionally with a set of properties.
|  |  | 
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                 addRange()
            ¶
addRange()
            ¶
    
        Adds a range.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $from | mixed | - | - | 
| $to | mixed | - | - | 
                 addUnboundedFrom()
            ¶
addUnboundedFrom()
            ¶
    
        Adds a range entry with explicit to and unbounded from.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $to | mixed | - | - | 
                 addUnboundedTo()
            ¶
addUnboundedTo()
            ¶
    
        Adds a range entry with explicit from and unbounded to.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $from | mixed | - | - | 
                 getProperties()
            ¶
getProperties()
            ¶
    
        Returns list of available properties' names.
|  |  | 
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | Additional dynamic properties exposed on the object | 
Return values
array<int, string>