src/Fadion/Bouncy/BouncyTrait.php
/**
     * Indexes the model in Elasticsearch.
     *
     * @return array
     */
Indexes the model in Elasticsearch.
@return array
Indexes the model in Elasticsearch . @return array
public function index()
    {
        $params = $this->basicElasticParams(true);
        $params['body'] = $this->documentFields();
        return $this->getElasticClient()->index($params);
    }
public function index ( ) { $ params = $ this -> basicElasticParams ( true ) ; $ params [ 'body' ] = $ this -> documentFields ( ) ; return $ this -> getElasticClient ( ) -> index ( $ params ) ; }
Indexes the model in Elasticsearch.
Indexes the model in Elasticsearch .