-
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
Add custom filterable attribute #363
Comments
Hello @madonzy and thank you for submitting this issue. This should work as intended, are you sure the index is properly rebuilt ? You should also ensure that enough products among all those displayed are having values for this attribute, otherwise it could get skipped by the facet coverage rate (see https://github.com/Smile-SA/elasticsuite/wiki/Attribute-configuration#faceting-configuration) Let me know, Regards, |
@romainruaud Index rebuilt is "green" :) |
Ok I found it. You did not properly create your attribute. For a multiselect one, you have to use "varchar" as the type. If you set it to "text" as you did previously, Magento will autoritary change it to "varchar" when you save it from the backoffice, resulting as loading empty data for product when indexing to the search engine. Please drop your attribute, recreate it properly (as a varchar) and set your product values again, then process a full reindex. Feel free to reopen the issue if you are still encountering problem. |
Is it possible to add custom filterable attribute?
Preconditions
OS: Linux debian-8 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
Magento Version: 2.1.4 CE
ElasticSuite Version: 2.3.3
Environment: developer
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: