You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Elasticquent to work with mysql. When I update and insert data, the addAllToIndex and reindex methods works great. But when I want to delete something, the data that I deleted is still there.
How can I delete data in elasticquent?
The text was updated successfully, but these errors were encountered:
/**
* Remove From Search Index
*
* @return array
*/
public function removeFromIndex()
{
return $this->getElasticSearchClient()->delete($this->getBasicEsParams());
}
/**
* Delete From Index
*
* @return array
*/
public function deleteFromIndex()
{
$all = $this->all();
I'm using Elasticquent to work with mysql. When I update and insert data, the addAllToIndex and reindex methods works great. But when I want to delete something, the data that I deleted is still there.
How can I delete data in elasticquent?
The text was updated successfully, but these errors were encountered: