Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search engine set to MySQL still call ElasticSuite #509

Closed
bmxmale opened this issue Aug 23, 2017 · 2 comments
Closed

Search engine set to MySQL still call ElasticSuite #509

bmxmale opened this issue Aug 23, 2017 · 2 comments

Comments

@bmxmale
Copy link

bmxmale commented Aug 23, 2017

When module is enabled and we change Catalog/Search/Engine back to MySQL, catalogsearch still call ElasticSuite and elasticsearch.

image
image

Preconditions

Magento Version : 2.1.7

ElasticSuite Version : 2.3.6

Environment : developer

Third party modules :

Steps to reproduce

  1. Install plugin
  2. Change Catalog/Search/Engine back to MySQL
  3. Clean cache, DI Compile
  4. On search query magento still call elasticsuite and try to connect elasticsearch node.

Expected result

  1. After change search engine to default, magento should back to mysql search.
@romainruaud
Copy link
Collaborator

Hello @bmxmale

This is due to the fact that many parts of the ElasticSuite module are retrieving informations from Elasticsearch (Product Collection is retrieving facets, count of products by attribute set, etc ....).

Also, there is no point using the module without setting the search engine to Smile Elasticsuite, since most of the module standard features just cannot work with MySQL engine, or with Solr or whatever.

You can consider this is by design. You have 2 choices here :

  • Use Elasticsuite with proper Elasticsuite search engine : Maybe we should set the configuration field as read-only when Elasticsuite is installed.

  • Do not use Elasticsuite at all

I close this issue for now, you can reopen it if needed.

Best regards

@bmxmale
Copy link
Author

bmxmale commented Aug 23, 2017

When we set search engine to MySQL catalog_product indicies will not be recreated at reindex if we drop it before on elasticsearch.

#173 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants