@baofromsf I did the same exact things you 've mentioned :)
Create CSSearchableItemAttributeSet, map them as CSSearchableItem and then call CSSearchableIndex.default().indexSearchableItems passing the items. :(
Topic:
App & System Services
SubTopic:
Core OS
Tags: