Smile\ElasticsuiteCatalog\Model\Eav\Indexer\Fulltext\Datasource\AbstractAttributeData::canIndexAttribute PHP Method

canIndexAttribute() private method

Check if an attribute can be indexed.
private canIndexAttribute ( Magento\Eav\Model\Entity\Attribute\AttributeInterface $attribute ) : boolean
$attribute Magento\Eav\Model\Entity\Attribute\AttributeInterface Entity attribute.
return boolean
    private function canIndexAttribute(AttributeInterface $attribute)
    {
        $canIndex = $attribute->getBackendType() != 'static';
        if ($canIndex && $attribute->getBackendModel()) {
            $canIndex = in_array($attribute->getBackendModel(), $this->indexedBackendModels);
        }
        return $canIndex;
    }