Skip to content

Commit 2f9b761

Browse files
committed
MAGETWO-95259: CatalogSearch module deprecation must be reverted
1 parent 2d22b20 commit 2f9b761

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

lib/internal/Magento/Framework/Indexer/IndexStructure.php

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
use Magento\Framework\Indexer\ScopeResolver\IndexScopeResolver;
1414
use Magento\Framework\Search\Request\Dimension;
1515

16+
/**
17+
* Full text search index structure.
18+
*
19+
* @deprecated
20+
* @see \Magento\ElasticSearch
21+
*/
1622
class IndexStructure implements IndexStructureInterface
1723
{
1824
/**
@@ -58,9 +64,7 @@ public function __construct(
5864
}
5965

6066
/**
61-
* @param string $index
62-
* @param Dimension[] $dimensions
63-
* @return void
67+
* @inheritdoc
6468
*/
6569
public function delete($index, array $dimensions = [])
6670
{
@@ -69,10 +73,7 @@ public function delete($index, array $dimensions = [])
6973
}
7074

7175
/**
72-
* @param string $index
73-
* @param array $fields
74-
* @param Dimension[] $dimensions
75-
* @return void
76+
* @inheritdoc
7677
*/
7778
public function create($index, array $fields, array $dimensions = [])
7879
{
@@ -83,6 +84,8 @@ public function create($index, array $fields, array $dimensions = [])
8384
}
8485

8586
/**
87+
* Create full text index.
88+
*
8689
* @param string $tableName
8790
* @throws \Zend_Db_Exception
8891
* @return void
@@ -94,6 +97,8 @@ protected function createFulltextIndex($tableName)
9497
}
9598

9699
/**
100+
* Configure full text index table.
101+
*
97102
* @param Table $table
98103
* @return Table
99104
*/
@@ -129,6 +134,8 @@ protected function configureFulltextTable(Table $table)
129134
}
130135

131136
/**
137+
* Create flat index.
138+
*
132139
* @param string $tableName
133140
* @param array $fields
134141
* @throws \Zend_Db_Exception
@@ -160,6 +167,8 @@ protected function createFlatIndex($tableName, array $fields)
160167
}
161168

162169
/**
170+
* Drop table.
171+
*
163172
* @param AdapterInterface $connection
164173
* @param string $tableName
165174
* @return void

0 commit comments

Comments
 (0)