Метод |
Описание |
|
clearIndex ( ) : mixed |
Remove everything from the index. |
|
getClient ( ) : mixed |
Get the underlying client. |
|
getResults ( $query ) : mixed |
Get the results for the given query. |
|
removeFromIndex ( Spatie\SearchIndex\Searchable $subject ) |
Remove the given subject from the search index. |
|
removeFromIndexByTypeAndId ( string $type, integer $id ) |
Remove an item from the search index by type and id. |
|
upsertToIndex ( Spatie\SearchIndex\Searchable | array | Traversable $subject ) |
Add or update the given searchable subject or array of subjects or Traversable object containing subjects. |
|