Symbiote\ElasticSearch\ElasticaSearchEngine
- Author: marcus
Synopsis
class ElasticaSearchEngine
extends CustomSearchEngine
{
- // members
- public ExtensibleElasticService $searchService;
- protected ArrayList $currentResults;
- protected ResultSet $elasticResult;
- public static string $filter_param = 'filter';
- public boolean $supports_hierarchy = true;
- public LoggerInterface $logger;
- // methods
- public void setElasticaSearchService()
- public void getSelectableFields()
- public void searchableTypes()
- public void getSearchResults()
- public array getCurrentResults()
- public ResultSet getCurrentElasticResult()
Hierarchy
Extends
- nglasl\extensible\CustomSearchEngine
Members
protected
- $currentResults
—
SilverStripe\ORM\ArrayList
Current result set - $elasticResult
—
Elastica\ResultSet
The raw result list from elastic
public
- $filter_param
—
string
URL param for current search string - $logger — Psr\Log\LoggerInterface
- $searchService — Symbiote\ElasticSearch\ExtensibleElasticService
- $supports_hierarchy
—
boolean
Yes, yes we do support hierarchical searches
Methods
public
- getCurrentElasticResult() — Get the raw elastic result list
- getCurrentResults() — Retrieves the current set of results, if they've already been put together by the search form processing.
- getSearchResults()
- getSelectableFields()
- searchableTypes()
- setElasticaSearchService()