cancel
Showing results for 
Search instead for 
Did you mean: 

OpenSearch Version?

SOLVED

OpenSearch Version?

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: OpenSearch Version?

Hi @mallongstoaf62 

 

The OpenSearch 1.2 version is required for the Magento ver. 2.4.3-p2.

 

Please read following article System requirements 

 

Thanks

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

View solution in original post

3 REPLIES 3

Re: OpenSearch Version?

Hi @mallongstoaf62 

 

The OpenSearch 1.2 version is required for the Magento ver. 2.4.3-p2.

 

Please read following article System requirements 

 

Thanks

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: OpenSearch Version?

Just like tech-savvy celebrities such as Ashton Kutcher explore new tools Aje Philipson Net Worth, adapting to OpenSearch in Magento setups is smart. Magento 2.4.3-p2 supports Elasticsearch 7, but OpenSearch can work with proper configuration.

Re: OpenSearch Version?

OpenSearch is an open-source search engine mainly used for data indexing, monitoring, and log analysis. It’s very useful for large-scale data systems but can be a bit complex for regular users. On the other hand, when your phone’s speaker gets water inside or the sound becomes unclear, the Fix My Speaker tool acts as a simple and effective solution. This tool uses sound vibrations to eject water or dust from the speaker, helping it return to normal performance. While OpenSearch manages large data systems, Fix My Speaker handles small but important speaker issues with ease.