public function searchById($id)
    {
        return App::make('iverberk.larasearch.response.result', $this->config['client']->get(
                [
                    'index' => $this->getIndex()->getName(),
                    'type' => $this->getType(),
                    'id' => $id
                ]
            )
        );
    }
public function searchById($id)
    {
        return App::make('iverberk.larasearch.response.result', $this->config['client']->get(
                [
                    'index' => $this->getIndex()->getName(),
                    'type' => $this->getType(),
                    'id' => $id
                ]
            )
        );
    }
public function searchById ( $ id ) { return App :: make ( 'iverberk.larasearch.response.result' , $ this -> config [ 'client' ] -> get ( [ 'index' => $ this -> getIndex ( ) -> getName ( ) , 'type' => $ this -> getType ( ) , 'id' => $ id ] ) ) ; }
Retrieves a single document by identifier

@param $id
@return Result
Retrieves a single document by identifier