-
Notifications
You must be signed in to change notification settings - Fork 89
attributes_metadata contains too many attributes #383
Comments
As you can see in the screenshot above I also tried to set Lines 255 to 264 in bd68146
But that doesn't seem to do anything? Is it that BOTH |
Looking again at this code: Lines 255 to 264 in bd68146
It seems this code is filtering attributes with an OR condition, meaning: I would argue it should filter based on AND like: Or is there a reason I'm not understanding for this logic to use an OR condition? |
version: 1.25.0
attributes_metadata
contains data for attributes set to not be exported. This means we are exporting a lot of unnecessary data to ES.For example.
I have set not to export
product.weight
:Even so ES now contains the metadata for this attribute:
In total I have configured the indexer to export 22 product attributes (on top of the default exported ones), but
attributes_metadata
contains data for 85 attributes. And each item inattributes_metadata
has at least 11 properties, so it is a pretty big chunk of data for each product.This seems like a pretty big optimization possibility.
The text was updated successfully, but these errors were encountered: