메소드 | 설명 | |
---|---|---|
createBulk ( ) : Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface | Create a new empty bulk. | |
createIndex ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | Prepare a new index into ES from it's identifier (e.g.: catalog_product). | |
executeBulk ( Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface $bulk ) : Smile\ElasticsuiteCore\Api\Index\Bulk\BulkResponseInterface | Execute a bulk and return the execution response. | |
getBatchIndexingSize ( ) : integer | Returns batch indexing size. | |
getIndexByName ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | Returns an index by it's identifier (e.g.: catalog_product) and by store. | |
indexExists ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : boolean | Check if an index exists using it's identifier (e.g.: catalog_product) and by store. | |
installIndex ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | Switch the alias to the installed index and delete the old index. | |
isAvailable ( ) : boolean | Check if the ES service is available. | |
proceedIndexInstall ( string $indexName, string $indexAlias ) : void | Proceed to the indices install : | |
refreshIndex ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index ) : Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface | Refresh an index (should be called after indexing operations to ensure data are available for search). |
public createBulk ( ) : Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface | ||
리턴 | Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface |
public createIndex ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | ||
$indexIdentifier | string | Index identifier. |
$store | integer | string | Magento\Store\Api\Data\StoreInterface | Store (id, identifier or object). |
리턴 | Smile\ElasticsuiteCore\Api\Index\IndexInterface |
public executeBulk ( Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface $bulk ) : Smile\ElasticsuiteCore\Api\Index\Bulk\BulkResponseInterface | ||
$bulk | Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface | Bulk to be executed. |
리턴 | Smile\ElasticsuiteCore\Api\Index\Bulk\BulkResponseInterface |
public getBatchIndexingSize ( ) : integer | ||
리턴 | integer |
public getIndexByName ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | ||
$indexIdentifier | string | Index identifier. |
$store | integer | string | Magento\Store\Api\Data\StoreInterface | Store (id, identifier or object). |
리턴 | Smile\ElasticsuiteCore\Api\Index\IndexInterface |
public installIndex ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | ||
$index | Smile\ElasticsuiteCore\Api\Index\IndexInterface | Installed index. |
$store | integer | string | Magento\Store\Api\Data\StoreInterface | Store (id, identifier or object). |
리턴 | Smile\ElasticsuiteCore\Api\Index\IndexInterface |
public isAvailable ( ) : boolean | ||
리턴 | boolean |
public refreshIndex ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index ) : Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface | ||
$index | Smile\ElasticsuiteCore\Api\Index\IndexInterface | Index |
리턴 | Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface |