Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\Product\AttributeList::getMapping PHP Method

getMapping() private method

Retrieve the search engine mapping.
private getMapping ( ) : Smile\ElasticsuiteCore\Api\Index\MappingInterface
return Smile\ElasticsuiteCore\Api\Index\MappingInterface
    private function getMapping()
    {
        if ($this->mapping === null) {
            $defaultStore = $this->storeManager->getDefaultStoreView();
            $index = $this->indexManager->getIndexByName($this->indexName, $defaultStore);
            $this->mapping = $index->getType($this->typeName)->getMapping();
        }
        return $this->mapping;
    }