src/Fadion/Bouncy/ElasticCollection.php
/**
     *  score of the individual results.
     *
     * @return string
     */
score of the individual results.
@return string
score of the individual results . @return string
public function score($incrementValue =NULL)
    {
        if($incrementValue !=NULL){
            return $this->response['hits']['hits'][$incrementValue]['_score'];
        }else{
            return $this->response['hits']['hits'][0]['_score'];
        }
    }
public function score ( $ incrementValue = NULL ) { if ( $ incrementValue != NULL ) { return $ this -> response [ 'hits' ] [ 'hits' ] [ $ incrementValue ] [ '_score' ] ; } else { return $ this -> response [ 'hits' ] [ 'hits' ] [ 0 ] [ '_score' ] ; } }
score of the individual results.
score of the individual results .