PHP Class Smile\ElasticsuiteThesaurus\Model\ResourceModel\Indexer\Thesaurus

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Smile\ElasticsuiteThesaurus\Model\ResourceModel\Thesaurus
Afficher le fichier Open project: smile-sa/elasticsuite Class Usage Examples

Méthodes publiques

Méthode Description
getExpansions ( integer $storeId ) : string[] Build a list of expansions into the Lucene format (foo => bar).
getSynonyms ( integer $storeId ) : string[] Build a list of synonyms into the Lucene format (foo,bar).

Private Methods

Méthode Description
getBaseSelect ( integer $storeId, string $type ) : Magento\Framework\DB\Select Base select for thesaurus terms select by store id.

Method Details

getExpansions() public méthode

Build a list of expansions into the Lucene format (foo => bar).
public getExpansions ( integer $storeId ) : string[]
$storeId integer Store id.
Résultat string[]

getSynonyms() public méthode

Build a list of synonyms into the Lucene format (foo,bar).
public getSynonyms ( integer $storeId ) : string[]
$storeId integer Store id.
Résultat string[]