Heyday\Elastica\ElasticaService::index
Either creates or updates a record in the index.
Signature
public function index(Searchable|DataObject
$record )
Parameters
$record
— object
Returns
- Response|null|bool
- Return response, or true if batched