public function setIndex($text, $entity, $entity_id, $language)
    {
        $this->deleteIndex($entity, $entity_id, $language);

        if (empty($text)) {
            return false;
        }

        return $this->addIndex($text, $entity, $entity_id, $language);
    }