Suilven\ManticoreSearch\Service\Searcher
Synopsis
class Searcher
extends Searcher
implements
Searcher
{
- // members
- private Client $client;
- // methods
- public void __construct()
- public void search()
- public array<array<string getAllFields()
- public void refactorKeyName()
- public void matchKey()
- public void searchForSimilar()
- private void getLeastCommonTerms()
- private string makeQueryOr()
- private void populateSearchResult()
- private void addHighlights()
Hierarchy
Extends
- Suilven\FreeTextSearch\Base\Searcher
Implements
- Suilven\FreeTextSearch\Interfaces\Searcher
Tasks
Line | Task |
---|---|
83 | Deal with subsequent params |
192 | This is a hack as $Title is rendering the ID in the template |
230 | Search by multiple fields? |
249+ | Rename this method, or separate into a helper? |
Members
private
- $client — \Suilven\ManticoreSearch\Service\Client
Methods
private
- addHighlights()
- getLeastCommonTerms() — Find terms suitable for similarity searching
- makeQueryOr() — Make a query OR instead of the default AND
- populateSearchResult()