Smile\ElasticsuiteCore\Api\Index\IndexInterface::getName PHP Method

getName() public method

Can be : - a real index name (eg.: magento2_catalog_product_20160202_192935 - an alias (eg. : magento2_catalog_product).
public getName ( ) : string
return string
    public function getName();

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 public function updateDocument(IndexInterface $index, TypeInterface $type, $docId, array $data)
 {
     $this->bulkData[] = ['update' => ['_index' => $index->getName(), '_type' => $type->getName(), '_id' => $docId]];
     $this->bulkData[] = ['doc' => $data];
     return $this;
 }
All Usage Examples Of Smile\ElasticsuiteCore\Api\Index\IndexInterface::getName