public function store($record)
    {
        $params['index'] = $this->getName();
        $params['type'] = $record['type'];
        $params['id'] = $record['id'];
        $params['body'] = $record['data'];

        self::getClient()->index($params);
    }
public function store($record)
    {
        $params['index'] = $this->getName();
        $params['type'] = $record['type'];
        $params['id'] = $record['id'];
        $params['body'] = $record['data'];

        self::getClient()->index($params);
    }
public function store ( $ record ) { $ params [ 'index' ] = $ this -> getName ( ) ; $ params [ 'type' ] = $ record [ 'type' ] ; $ params [ 'id' ] = $ record [ 'id' ] ; $ params [ 'body' ] = $ record [ 'data' ] ; self :: getClient ( ) -> index ( $ params ) ; }
Store a record in the index

@param $record
Store a record in the index