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
Proof of concept using elastic suite for product listing #1228
Proof of concept using elastic suite for product listing #1228
Conversation
Hello @Swahjak Wow, thank you for taking some time to write it. It's not that far from what I would have done myself. So again, thank you. Do you have any metrics with/without this one ? I see some things that will probably not work very well, or which remains to be discussed :
So there are still many points to discuss on this one. Regards, thank you again for sharing your point of view ! |
You are welcome, thank you for your efforts in making this request possible 😉
I see, I haven't gotten to the point with anything other than simple products.
I'm not sure. For starters I think we would be better of fleaving it out. I think observers / plugins would go a long way, but maybe not far enough. We could hook to both the Magento index processes which should give us near realtime stock and pricing data.
I agree that it might be hard to sell for a broader audience, maybe this could / should be more of a side project outside of this repo.
API's will still heavily rely on the database and they might actually be better suited for use with ES since they are more predictable. Looking at https://github.com/DivanteLtd/vue-storefront for instance, which heavily relies on Elasticsearch. I'm not sure about GrapQL though. I'm quite sure about the fact that Magento's current API is hardly suited for any serious PWA (though I hope GraphQL will change that).The other question is how long it will take for the general public to start using PWA as their general storefront. This could easily take a (couple of) year(s). |
During christmas holidays I thought about this one. Here is another approach that I do prefer :
Let me know your opinion @Swahjak |
I close for now since it will not be merged as is. But I keep in mind there are a lot of good ideas in this one. |
Hi @romainruaud
from my limited knowledge of ElasticSearch, this is exactly the approach I was able to gather I should follow... can you confirm that at the moment ElasticSuite does not offer any way (e.g. via configuration) to allow for such field mappings to be generated? Thank you |
References #1205
As stated in #1205 it could be useful to use Elasticsuite (elasticsearch) as a backend for the product listing. For me there are two points of interest;
This is not a pull request that should be reviewed as a feature request, but rather as a proof of concept. I'm trying to figure out the direction that is preferred if this would ever be considered as a serious feature. I tried to use a minimal amount of code to get to a point where the full collection is provided by Elastic Suite.
Some initial insights / questions;
attributes_indexed
which is far from optimalElasticsuiteCatalog
or should it be developed in a separate folder?Please share your thoughts how, and if, this could become a serious feature.