13
13
use Magento \Framework \Indexer \ScopeResolver \IndexScopeResolver ;
14
14
use Magento \Framework \Search \Request \Dimension ;
15
15
16
+ /**
17
+ * Full text search index structure.
18
+ *
19
+ * @deprecated
20
+ * @see \Magento\ElasticSearch
21
+ */
16
22
class IndexStructure implements IndexStructureInterface
17
23
{
18
24
/**
@@ -58,9 +64,7 @@ public function __construct(
58
64
}
59
65
60
66
/**
61
- * @param string $index
62
- * @param Dimension[] $dimensions
63
- * @return void
67
+ * @inheritdoc
64
68
*/
65
69
public function delete ($ index , array $ dimensions = [])
66
70
{
@@ -69,10 +73,7 @@ public function delete($index, array $dimensions = [])
69
73
}
70
74
71
75
/**
72
- * @param string $index
73
- * @param array $fields
74
- * @param Dimension[] $dimensions
75
- * @return void
76
+ * @inheritdoc
76
77
*/
77
78
public function create ($ index , array $ fields , array $ dimensions = [])
78
79
{
@@ -83,6 +84,8 @@ public function create($index, array $fields, array $dimensions = [])
83
84
}
84
85
85
86
/**
87
+ * Create full text index.
88
+ *
86
89
* @param string $tableName
87
90
* @throws \Zend_Db_Exception
88
91
* @return void
@@ -94,6 +97,8 @@ protected function createFulltextIndex($tableName)
94
97
}
95
98
96
99
/**
100
+ * Configure full text index table.
101
+ *
97
102
* @param Table $table
98
103
* @return Table
99
104
*/
@@ -129,6 +134,8 @@ protected function configureFulltextTable(Table $table)
129
134
}
130
135
131
136
/**
137
+ * Create flat index.
138
+ *
132
139
* @param string $tableName
133
140
* @param array $fields
134
141
* @throws \Zend_Db_Exception
@@ -160,6 +167,8 @@ protected function createFlatIndex($tableName, array $fields)
160
167
}
161
168
162
169
/**
170
+ * Drop table.
171
+ *
163
172
* @param AdapterInterface $connection
164
173
* @param string $tableName
165
174
* @return void
0 commit comments