FacetSearchFactory
Concrete factory to build facet searches.
Namespace
IO\Services\ItemSearch\Factories
Extends
Type | Name | Value | Description |
---|---|---|---|
|
'asc' |
||
|
'desc' |
||
|
'aggregations' |
||
|
'collapse' |
||
|
'extensions' |
||
|
'filters' |
||
|
'mutators' |
||
|
'pagination' |
||
|
'resultFields' |
||
|
'sorting' |
Type | Name | Description |
---|---|---|
|
Methods
public static create($facets):FacetSearchFactory
Create a factory instance depending on a given set of facet values.
Type |
Name |
Description |
|
List of active facet values. If string is given, it will be exploded by ',' to a list of values. |
public prepareSearch($source):DocumentSearch
Build facet search classes
Type |
Name |
Description |
|
public withMinimumCount():Factories
Register extension to filter facets by minimum hit count.
Thank you for your feedback!