Do we need *both* associateAppEntity and to implement attributeSet when indexing App Entities?

I am working on adding indexing to my App Entities via IndexedEntity. I already, separately index my content via Spotlight.

Watching 'What's New in App Intents', this is covered well but I have a question.

Do I need to implement both CSSearchableItem's associateAppEntity AND also a custom implementation of attributeSet in my IndexedEntity conformance? It seems duplicative but I can't tell from the video if you're supposed to do both or just one or the other.

Do we need *both* associateAppEntity and to implement attributeSet when indexing App Entities?
 
 
Q