-
Notifications
You must be signed in to change notification settings - Fork 340
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
Category Pages served from ElasticSearch indexes #1205
Comments
Hi @badev-ajay, Can you clarify your question ? I'm not 100% sure I am going to answer it correctly. At the moment, both on catalog search and on a category page - besides layered navigation filters data - Elasticsuite only pulls from ElasticSearch the product_ids of the products to render in the product list. Regards, |
I think that is the question; can we retrieve the entire product list from Elasticsearch instead of from the database. Skipping the database could have some interesting benefits. |
I agree, it could probably be a nice performance gain on frontend. Probably quite easy to do since we have the source of any document in the search response actually. It would require replacing/skipping the BUT :
Anyway, that's something we already thought about. I'd be happy to review any PR on this one. |
Hi Team, |
Hi Team, When We can aspect this feature or please give some clue about that so i can change it myself |
If you want to have the full catalog from ES you should maybe check this open-source stuff here: |
@rbayet @romainruaud As insiders, could you make an estimation of the work it would take to make this happen? I would consider spending some time on this, but without an in depth knowledge of ES it's hard to make an estimation on the time this would cost. If size isn't a problem we could replace / modify the flat tables to use elasticsearch as a backend. This would also resolve a problem for us related to the flat table rows being to large. |
@bjoern-flagbit That's an interesting options. But to me it seems they aim to have a 'broad' support for catalogs while I think a Magento 2 specific solution would allow for full Magento 2 capability. |
Hi Swahjak, 1 exception(s): Exception #0 (Exception): Notice: Array to string conversion in /var/www/html/m23/vendor/magento/module-catalog/Model/View/Asset/Image.php on line 188
|
@badev-ajay This was by no means meant as a 'out of the box' working PR. We've got a very specific environment for development so I currently do not have a 'vanilla' Magento environment for testing. This is a very (very) rough sketch of what could be. On a general note (@romainruaud) first tests (based on the Smile Debug Toolbar) do not really seem to have a performance improvement. But then again Elasticsearch was running in a single container on a local machine (so was mysql, but the second seems more suitable on a 'small' development environment). |
I close this one since it's a non-issue. But I keep in mind (and the PR is here to remind) that @Swahjak provided a POC. Regards |
Hi ElasticSearch Team,
Can we be served fully category page from ElasticSearch currently product list is coming from the database?
The text was updated successfully, but these errors were encountered: