33 private $indexScopeResolver;
44 $this->indexScopeResolver = $indexScopeResolver;
50 public function delete(
$index, array $dimensions = [])
53 if ($this->resource->getConnection()->isTableExists(
$tableName)) {
54 $this->resource->getConnection()->dropTable(
$tableName);
80 [
'unsigned' =>
true,
'nullable' =>
false],
86 [
'unsigned' =>
true,
'nullable' =>
false]
95 [
'entity_id',
'attribute_id'],
98 'FTI_FULLTEXT_DATA_INDEX',
102 $this->resource->getConnection()->createTable(
$table);
createFulltextIndex($tableName)
__construct(ResourceConnection $resource, IndexScopeResolverInterface $indexScopeResolver)
const INDEX_TYPE_FULLTEXT
create($index, array $fields, array $dimensions=[])