Search
class Search extends SearchAbstract
Class to perform basic search extends from SearchElastic\SearchAbstract\SearchAbstract
Properties
protected string|null | $client | from SearchAbstract | |
protected string|null | $searchColumn | from SearchAbstract |
Methods
void
setSearchColumn(string $value)
Set Search Column to use for search in Elasticsearch
from SearchAbstract
search
search(string $query)
Search in Elasticsearch.
Details
in SearchAbstract at line 18
__construct()
in SearchAbstract at line 29
void
setIndex(string $index)
Set Index to Use in Elasticsearch.
in SearchAbstract at line 40
void
setType(string $type)
Set Type to use in Elasticsearch
in SearchAbstract at line 51
void
setSearchColumn(string $value)
Set Search Column to use for search in Elasticsearch
in SearchAbstract at line 62
protected void
extractResult($query)
Function to extract Search Result From ElasticSearch
in SearchAbstract at line 82
protected void
validate(string $query)
Function to validate Search
at line 17
search
search(string $query)
Search in Elasticsearch.