File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
CatalogSearch/Model/ResourceModel/Fulltext/Collection
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 13
13
14
14
/**
15
15
* Resolve specific attributes for search criteria.
16
+ * @deprecated @see \Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier
16
17
*/
17
18
class SearchResultApplier implements SearchResultApplierInterface
18
19
{
Original file line number Diff line number Diff line change 13
13
<preference for =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProvider\FieldIndex\ConverterInterface" type =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProvider\FieldIndex\Converter" />
14
14
<preference for =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProvider\FieldType\ConverterInterface" type =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProvider\FieldType\Converter" />
15
15
<preference for =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProviderInterface" type =" Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\CompositeFieldProvider" />
16
+ <preference for =" Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplierInterface" type =" Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier" />
16
17
<type name =" Magento\Catalog\Model\Indexer\Category\Product\Action\Rows" >
17
18
<plugin name =" catalogsearchFulltextProductAssignment" type =" Magento\Elasticsearch\Model\Indexer\Fulltext\Plugin\Category\Product\Action\Rows" />
18
19
</type >
Original file line number Diff line number Diff line change @@ -1641,11 +1641,6 @@ public function testSearchAndSortByRelevance()
1641
1641
$ this ->assertEquals ('Colorful Category ' , $ response ['products ' ]['filters ' ][0 ]['filter_items ' ][0 ]['label ' ]);
1642
1642
$ this ->assertCount (2 , $ response ['products ' ]['aggregations ' ]);
1643
1643
$ productsInResponse = ['Blue briefs ' ,'Navy Blue Striped Shoes ' ,'Grey shorts ' ];
1644
- /** @var \Magento\Config\Model\Config $config */
1645
- $ config = Bootstrap::getObjectManager ()->get (\Magento \Config \Model \Config::class);
1646
- if (strpos ($ config ->getConfigDataValue ('catalog/search/engine ' ), 'elasticsearch ' ) !== false ) {
1647
- $ this ->markTestIncomplete ('MC-20716 ' );
1648
- }
1649
1644
$ count = count ($ response ['products ' ]['items ' ]);
1650
1645
for ($ i = 0 ; $ i < $ count ; $ i ++) {
1651
1646
$ this ->assertEquals ($ productsInResponse [$ i ], $ response ['products ' ]['items ' ][$ i ]['name ' ]);
You can’t perform that action at this time.
0 commit comments