private function getMatchQueryParams(ProductCondition $productCondition)
    {
        $fieldName          = $this->getSearchFieldName($productCondition);
        $queryText          = $productCondition->getValue();
        $minimumShouldMatch = "100%";

        return ['field' => $fieldName, 'queryText' => $queryText, 'minimumShouldMatch' => $minimumShouldMatch];
    }
private function getMatchQueryParams(ProductCondition $productCondition)
    {
        $fieldName          = $this->getSearchFieldName($productCondition);
        $queryText          = $productCondition->getValue();
        $minimumShouldMatch = "100%";

        return ['field' => $fieldName, 'queryText' => $queryText, 'minimumShouldMatch' => $minimumShouldMatch];
    }
private function getMatchQueryParams ( ProductCondition $ productCondition ) { $ fieldName = $ this -> getSearchFieldName ( $ productCondition ) ; $ queryText = $ productCondition -> getValue ( ) ; $ minimumShouldMatch = "100%" ; return [ 'field' => $ fieldName , 'queryText' => $ queryText , 'minimumShouldMatch' => $ minimumShouldMatch ] ; }
Retrieve params for a match query from condition.

@param ProductCondition $productCondition Product condition.

@return array
Retrieve params for a match query from condition .