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

Smile_ElasticsuiteIndices module improve index performance? #1883

Closed
davidandersson1 opened this issue Jul 22, 2020 · 4 comments
Closed

Smile_ElasticsuiteIndices module improve index performance? #1883

davidandersson1 opened this issue Jul 22, 2020 · 4 comments
Labels

Comments

@davidandersson1
Copy link

Hello,

We have recently upgraded Magento version 2.3.5 so now we have Elastic suite version 2.9.1 according to composer update.

We have noticed Smile's 2 separate modules fetched "Smile_ElasticsuiteCatalogGraphQl" and "Smile_ElasticsuiteIndices" but at this time we have disabled it.

So we want to know, does both module should improve performance during index time or exactly for which purpose of those modules.

Can you please provide your view for the same.

Thanks,
David Andersson

@romainruaud
Copy link
Collaborator

Hello,

ElasticSuiteCatalogGraphQl is here to properly plug Elasticsuite with graphQL search and categories query, it also improves a lot performances of these queries. For me there is no need to disable it.

ElasticSuiteIndices is here to help you "managing" (or at least, monitorigin) your Elasticsearch server and indices through the back-office, there is no need to disable this module.

Regards

@davidandersson1
Copy link
Author

Hi @romainruaud

Thanks a lot for your view.

@davidandersson1
Copy link
Author

Hello @romainruaud

Hope you are doing well.

I have enabled both modules on production server and try to check indices through back office but it will throw error on server's php error log like

[23-Jul-2020 03:01:49 UTC] PHP Fatal error: Uncaught TypeError: Return value of Smile\ElasticsuiteIndices\Model\IndexStatsProvider::sizeFormatted() must be of the type string, null returned in /../../../store/vendor/smile/elasticsuite/src/module-elasticsuite-indices/Model/IndexStatsProvider.php:170
Stack trace:
#0 /../../../store/vendor/smile/elasticsuite/src/module-elasticsuite-indices/Model/IndexStatsProvider.php(126): Smile\ElasticsuiteIndices\Model\IndexStatsProvider->sizeFormatted(NULL)
#1 /../../../store/vendor/smile/elasticsuite/src/module-elasticsuite-indices/Model/ResourceModel/Index/Collection.php(85): Smile\ElasticsuiteIndices\Model\IndexStatsProvider->indexStats('magento2_defaul...', 'magento2_defaul...')
#2 /../../../store/vendor/magento/framework/Data/Collection.php(691): Smile\ElasticsuiteIndices\Model\ResourceModel\Index\Collection->loadData(false, false)
#3 /../../../store/vendor/magento/framework/Data/Collection.php(333): in /../../../store/vendor/smile/elasticsuite/src/module-elasticsuite-indices/Model/IndexStatsProvider.php on line 170

After enabled both modules, I had ran all magento core commands like upgrade,compile,static content and cache clear,flush etc..

Is there any particular setting for it?

Can you please help!

Thanks,
David Andersson

@romainruaud
Copy link
Collaborator

yes this issue is followed in #1865

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

No branches or pull requests

2 participants