private function getUrl(array $data)
    {
        $urlParams = ['q' => $data['value'], $data['attribute_code'] => $data['value']];

        return $this->urlBuilder->getUrl('catalogsearch/result', ['_query' => $urlParams]);
    }
private function getUrl(array $data)
    {
        $urlParams = ['q' => $data['value'], $data['attribute_code'] => $data['value']];

        return $this->urlBuilder->getUrl('catalogsearch/result', ['_query' => $urlParams]);
    }
private function getUrl ( array $ data ) { $ urlParams = [ 'q' => $ data [ 'value' ] , $ data [ 'attribute_code' ] => $ data [ 'value' ] ] ; return $ this -> urlBuilder -> getUrl ( 'catalogsearch/result' , [ '_query' => $ urlParams ] ) ; }
Returns autocompelete result URL.

@param array $data Autocomplete data.

@return string
Returns autocompelete result URL .