yii\sphinx\ActiveFixture::resetIndex PHP Method

resetIndex() protected method

This method is called before populating fixture data into the index associated with this fixture.
protected resetIndex ( )
    protected function resetIndex()
    {
        $index = $this->getIndexSchema();
        $this->db->createCommand()->truncateIndex($index->name)->execute();
    }