/** * Indexes posts and articles * * Subclasses should override this method to add or remove additional * indexed tables. */ protected function index() { parent::index(); $this->indexPosts(); $this->indexComments(); }
/** * Indexes documents * * Subclasses should override this method to add or remove additional * indexed tables. */ protected function index() { parent::index(); $this->indexTags(); $this->indexPhotos(); }