private function getSearchField(ProductCondition $productCondition)
    {
        $field = $this->attributeList->getField($productCondition->getAttribute());

        return $field;
    }
private function getSearchField(ProductCondition $productCondition)
    {
        $field = $this->attributeList->getField($productCondition->getAttribute());

        return $field;
    }
private function getSearchField ( ProductCondition $ productCondition ) { $ field = $ this -> attributeList -> getField ( $ productCondition -> getAttribute ( ) ) ; return $ field ; }
Retrieve ES mapping field for the current condition.

@param ProductCondition $productCondition Product condition.

@return \Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface
Retrieve ES mapping field for the current condition .