Is Indexable Determiner
If an attribute is indexable is determined by Klevu\Indexing\Service\Determiner\IsAttributeIndexableDeterminer This determiner loops through all injected Klevu\IndexingApi\Service\Determiner\IsAttributeIndexableConditionInterface classes. If any of these return false; then the attribute is set to not indexable and will not be registered with Klevu. If they all return true; then the attribute is indexable and can be registered with Klevu.
By default, the only setting checked to determine if an attribute is indexable is the new Register with Klevu setting on the attribute.
Both module-ms-indexing-categories and module-m2-indexing-products create virtual types of this class and inject an array of conditions. e.g.
You can add conditions to amend the default behaviour. Let's say you only wanted to register attributes when the attribute code began with vendor_. You’d inject your condition in to the IsAttributeIndexableDeterminer via the isIndexableConditions array in your di.xml
Create that class implementing the interface Klevu\IndexingApi\Service\Determiner\IsAttributeIndexableConditionInterface
See Klevu\IndexingProducts\Service\Determiner\AttributeIsIndexableCondition as an example of a condition.