Build a field term facet.
since eZ Platform 3.2.0, to be removed in Ibexa 4.0.0.
If provided the search service returns a FieldFacet for the provided field path. A field path starts with a field identifier and may contain a subpath in the case of complex field types (e.g. author/name)
Tags
Constants¶
                 COUNT_ASC        ¶
COUNT_ASC        ¶
    
        |  |  | 
                 COUNT_DESC        ¶
COUNT_DESC        ¶
    
        |  |  | 
                 TERM_ASC        ¶
TERM_ASC        ¶
    
        |  |  | 
                 TERM_DESC        ¶
TERM_DESC        ¶
    
        |  |  | 
Properties¶
                 $fieldPaths
            ¶
        $fieldPaths
            ¶
    
        The field paths 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.
|  |  | 
                 $regex
            ¶
        $regex
            ¶
    
        A regex filter for field values.
|  |  | 
Tags
                 $sort
            ¶
        $sort
            ¶
    
        The sort order of the terms.
|  |  | 
One of FieldFacetBuilder::COUNT_ASC, FieldFacetBuilder::COUNT_DESC, FieldFacetBuilder::TERM_ASC, FieldFacetBuilder::TERM_DESC
Note: A given Search engine might not support all options.
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> | [] | - | 
                 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>