My Magento 2 website (2.4.6) was working with Elasticsearch until I installed
a payment module from Adobe and its dependencies:
I now have an error while indexing :
Catalog Search index process error during indexation process:
{"error":"no handler found for uri [/magento2_product_1_v23/document/_mapping?include_type_name=true] and method [PUT]"}
I checked Elasticsearch files and no updates seems to have been done, so current version was the one that was working i.e. 8.11.4
So if Elasticsearch was not updated, the magento module or the magento settings were updated.
You need to find what changed if it's not Elasticsearch.
The module was installed (it was not present before), with all its dependencies.
You cannot downgrade and anyway that'd probably not change the behavior as the problem is elsewhere.
Just to understand : If I desinstall ES 8 completely, including ES Config files and Data, Why will I not be able to resintall ES 7.9.3? I could after recreates the data by launching the magento indexer, no? What do I miss? (sorry if the question is stupid, I am new to ES...)
NB: The module vendor tested successfully Magento 2.4.6 + ES 7.9.3 + the module last version.
Could you share the full logs of elasticsearch as well?
You can do this, but this is not a downgrade, it is a new install.
What you cannot do is downgrade a current installation of Elasticsearch to a lower version, this does not work, but if you remove the data and settings, then you are in fact removing elasticsearch and installing a new and fresh one.
Do you have a setting in Magento where you can define the document type to be _doc instead of document?
From what I can read in the Magento 2.4.6 doc, it's compatible with Elasticsearch 8.
But I believe that you should better ask the Magento community for this.
I looked at the logs and there's nothing weird IMO.
Just that the node seems to be restarted everyday and the catalog rebuilt everyday.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.