Could someone confirm what version of OpenSearch Magento ver. 2.4.3-p2 uses?
I have installed a local copy of our site on my Mac, the live site uses ElasticSearch7.
But brew had a wobble when installing ElasticSearch, and wouldn't install it...
so I installed OpenSearch 2.x.x I can see it up and running on localhost:9200
I have the following in my env file
'catalog' => [ 'search' => [ 'engine' => 'opensearch', 'opensearch_server_hostname' => 'localhost', 'opensearch_server_port' => '9200', 'opensearch_index_prefix' => 'magento2' ] ],
Then in my admin under Store>Configuration>Catalog>Catalog>Catalog Search
I can only select Elasticsearch7 no option to select OpenSearch or no Idea where to add this?
Host: localhost
Port: 9200
Prefix: magento2
HTTP Auth: No
Timeout: 15
Connection Is successful
When I run
php bin/magento indexer:reindex
I get the following results, with the error of not indexing the Catalog Search
Design Config Grid index has been rebuilt successfully in 00:00:00 Customer Grid index has been rebuilt successfully in 00:00:00 Product Flat Data index has been rebuilt successfully in 00:00:11 Category Flat Data index has been rebuilt successfully in 00:00:07 Category Products index has been rebuilt successfully in 00:00:11 Product Categories index has been rebuilt successfully in 00:00:00 Catalog Rule Product index has been rebuilt successfully in 00:00:05 Product EAV index has been rebuilt successfully in 00:00:11 Stock index has been rebuilt successfully in 00:00:05 Inventory index has been rebuilt successfully in 00:00:15 Catalog Product Rule index has been rebuilt successfully in 00:00:00 Product Price index has been rebuilt successfully in 00:00:05 Catalog Search index process error during indexation process: {"error":"no handler found for uri [/magento2_product_1_v4/document/_mapping] and method [PUT]"} Amasty Product Label index has been rebuilt successfully in 00:03:37 Amasty Product Label index has been rebuilt successfully in 00:00:00 Amasty: Product Grid - Qty Sold index has been rebuilt successfully in 00:00:00
When I run the following
php bin/magento config:set catalog/search/engine OpenSearch
I get Value was saved.
And no matter what I try I can't get the indexer to work??
Does anyone have any ideas or steps to take to get it to work, as I can't see any products on the front end?
Thanks in advance
Mal
Solved! Go to Solution.
The OpenSearch 1.2 version is required for the Magento ver. 2.4.3-p2.
Please read following article System requirements
Thanks
The OpenSearch 1.2 version is required for the Magento ver. 2.4.3-p2.
Please read following article System requirements
Thanks