Closed hirenrk4 closed 5 years ago
Hello @hirenrk4,
Can you run the composer info | grep -i elastic
command for your site 1 with "^2.5.0"
too ?
Can you also give me your ElasticSearch server version curl http://your.es.server:9200
?
And the Magento versions for site 1 ?
To sum it up :
The error you gave is usually due to the fact that a "^2.5.0" install (with a 2.5.x release) gets upgraded to a 2.6.x release of ElasticSuite which is no longer compatible with the ElasticSearch 2.x instance he used to communicate with. I also suppose your site 1 is a Magento 2.2.x ?
If I guessed correctly and if you plan to continue using the same ES server instance for both sites, I would advise to :
composer require smile/elasticsuite ~2.6.0
: so it will never be upgraded to a 2.7.x version which is only compatible with Magento 2.3.xcomposer require smile/elasticsuite ~2.7.0
: so it will never be upgrade to a future 2.8.x version where support for ElasticSearch 5.x and 6.x might be dropped (in favor of supporting ElasticSearch 7.x)Regards,
Hello @rbayet,
please check curl https://prnt.sc/msv3ne both site are same configuration.
actually my question is If i upgrade ElasticSearch ElasticSearch 6.x on the server, will it cause an issue with smile/elasticsuite: "^2.5.0"?
smile/elasticsuite: "2.5.0" compatible with ElasticSearch ElasticSearch 6.x?
Hello @hirenrk4,
I answered you on the compatibility of smile/elasticsuite 2.5.x and ElasticSearch 6.x : they are not compatible.
Regards
When run the bin/magento indexer:reindex command got following issue
Catalog Search indexer process unknown error: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [search]"}],"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [search]"},"status":400} ElasticSuite Category Indexing indexer process unknown error: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [search]"}],"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [search]"},"status":400}
Preconditions
Magento Version :2.3.0
ElasticSuite Version : ^2.7
Environment : production
i have one little confusion i have two sites site 1 smile/elasticsuite: "^2.5.0" site 2 smile/elasticsuite: "^2.7.0"
So as per this https://github.com/Smile-SA/elasticsuite/wiki/ServerConfig-6.x
If i upgrade ElasticSearch on the server, will it cause an issue on the site 2? both sites are on same server
elasticsuite 2.5.0 is compatible with So as per this https://github.com/Smile-SA/elasticsuite/wiki/ServerConfig-6.x ?