private function getAnalyzer($propertyName)
    {
        $analyzer = FieldInterface::ANALYZER_STANDARD;

        if (strstr($propertyName, '.')) {
            $propertyNameParts = explode('.', $propertyName);
            $analyzer = end($propertyNameParts);
        }

        return $analyzer;
    }
private function getAnalyzer($propertyName)
    {
        $analyzer = FieldInterface::ANALYZER_STANDARD;

        if (strstr($propertyName, '.')) {
            $propertyNameParts = explode('.', $propertyName);
            $analyzer = end($propertyNameParts);
        }

        return $analyzer;
    }
private function getAnalyzer ( $ propertyName ) { $ analyzer = FieldInterface :: ANALYZER_STANDARD ; if ( strstr ( $ propertyName , '.' ) ) { $ propertyNameParts = explode ( '.' , $ propertyName ) ; $ analyzer = end ( $ propertyNameParts ) ; } return $ analyzer ; }
Extract analayser from a mapping property name.

@param string $propertyName Property name (eg. : search.whitespace)

@return string
Extract analayser from a mapping property name .