Indexing
...
Attributes
Discovery
Update
4min
attribute update does not send any data to klevu its only purpose is to update the attributes in klevu indexing attribute database table and calculate their next action attribute update triggers attribute discovery for a selection of entity ids various plugins and observers trigger an attribute update, e g when an attribute is saved attribute update will add any missing attributes and determine if those attributes are indexable set any of the passed attribute ids which are no longer indexable, but were previously registered, to have a next action of delete set any of the passed attribute ids that have become indexable to have a next action of add set the next action for the passed attribute ids to update if they are indexable attribute update will not send any data to klevu attribute update is triggered via plugins via observers via cli \klevu\indexing\service\attributeupdateorchestratorservice responsible for attribute update all the above methods of triggering attribute update use this service cli klevu\ indexing\ attribute update the update can also be triggered via cli and has 1 required parameter and 2 optional parameters attribute ids comma separated list of attribute ids to update api keys \[optional] comma separated list of api keys to update attribute types \[optional] comma separated list of attribute types to update, options klevu product klevu category e g bin/magento klevu\ indexing\ attribute update \\ \ attribute ids="1,2,3" \\ \ attribute types="klevu product" \\ \ api keys="klevu example js api key"