src/Kunstmaan/NodeSearchBundle/Configuration/NodePagesConfiguration.php
protected function createDefaultSearchFieldsMapping(Index $index, $lang = 'en')
    {
        $mapping = new Mapping();
        $mapping->setType($index->getType($this->indexType));

        $mapping->setProperties($this->properties);

        return $mapping;
    }
protected function createDefaultSearchFieldsMapping(Index $index, $lang = 'en')
    {
        $mapping = new Mapping();
        $mapping->setType($index->getType($this->indexType));

        $mapping->setProperties($this->properties);

        return $mapping;
    }
protected function createDefaultSearchFieldsMapping ( Index $ index , $ lang = 'en' ) { $ mapping = new Mapping ( ) ; $ mapping -> setType ( $ index -> getType ( $ this -> indexType ) ) ; $ mapping -> setProperties ( $ this -> properties ) ; return $ mapping ; }
Return default search fields mapping for node translations

@param Index  $index
@param string $lang

@return Mapping
Return default search fields mapping for node translations