24     private $flatScopeResolver;
    50         $this->flatScopeResolver = $flatScopeResolver;
    51         $this->columnTypesMap = array_merge($this->columnTypesMap, 
$columnTypesMap);
    59     public function delete(
$index, array $dimensions = [])
    93             [
'unsigned' => 
true, 
'nullable' => 
false, 
'primary' => 
true],
    96         $searchableFields = [];
    98             if ($field[
'type'] === 
'searchable') {
    99                 $searchableFields[] = $field[
'name'];
   101             $columnMap = isset($field[
'dataType']) && isset($this->columnTypesMap[$field[
'dataType']])
   102                 ? $this->columnTypesMap[$field[
'dataType']]
   103                 : [
'type' => $field[
'dataType'], 
'size' => isset($field[
'size']) ? $field[
'size'] : 
null];
   104             $name = $field[
'name'];
   105             $type = $columnMap[
'type'];
   106             $size = $columnMap[
'size'];
   107             if ($field[
'type'] === 
'filterable') {
   117             $this->resource->getIdxName(
   131     private function getAdapter()
   133         $adapter = $this->resource->getConnection(
'write');
 
create($index, array $fields, array $dimensions=[])
createFlatTable($tableName, array $fields)
const INDEX_TYPE_FULLTEXT
__construct(ResourceConnection $resource, FlatScopeResolver $flatScopeResolver, array $columnTypesMap=[])
if(!isset($_GET['name'])) $name