MultiSearchFactory
Factory to build an elastic search multisearch request by collecting multiple search factory instances.
Namespace
IO\Services\ItemSearch\Factories
Type | Name | Description |
---|---|---|
|
||
|
||
|
Methods
public getSearches():array
Get all registered searches
public getExtensions():array
Get all registered extensions
public addSearch($resultName, $searchBuilder):MultiSearchFactory
Add a search factory instance to be included in current mutlisearch request.
Type |
Name |
Description |
|
An unique name for the search. Results of this search will be accessible by this key. |
|
|
A search factory |
public getResults():array
Execute the multisearch and collect results.
Thank you for your feedback!