Indexing
Attributes

Discovery

6min
attribute discovery attribute discovery does not send any data to klevu its only purpose is to add missing attributes to the klevu indexing attribute database table or to set attributes that are no longer indexable to have a next action of delete note all magento category and product attributes are added here, even if they do not currently need to be registered with klevu attribute discovery will add any missing attributes and determine if those attributes are indexable set any attributes which are no longer indexable, but were previously registered, to have a next action of delete set any attributes that have become indexable to have a next action of add attribute discovery will not determine if an attribute requires an update send any data to klevu attribute discovery is triggered on account integration via plugins via observers via cron via cli \klevu\indexing\service\attributediscoveryorchestratorservice is responsible for attribute discovery all the above methods of triggering attribute discovery use this service cron as with all cron tasks added by version 4 x of the klevu integration, attribute discovery cron tasks use the dedicated klevu cron group, allowing granular configuration of scheduling and run options we recommend using the native magento cron to run these jobs, configuring schedules if necessary, rather than a custom server side cron implementation of the cli command attribute discovery runs once a day via cron the configuration for the cron can be found here module m2 indexing/etc/crontab xml module m2 indexing/etc/crontab xml \<job name="klevu indexing discover attributes" instance="klevu\indexing\cron\discoverattributes" method="execute"> \<schedule>52 1 \</schedule> \</job> cli klevu\ indexing\ attribute discovery the discovery can also be triggered via cli and has 2 optional parameters api keys \[optional] comma separated list of api keys to run discovery for attribute types \[optional] comma separated list of attribute types to run discovery for, options klevu product klevu category e g bin/magento klevu\ indexing\ attribute discovery \\ \ attribute types="klevu product" \\ \ api keys="klevu example js api key"