macOS 27: indexing using CSSearchableItem does not work. But using an IntentEntity works.

Hello,

I’m using Core Spotlight in my app.

I notice that

  • if I use CSSearchableIndex to index the content, it cannot be found in Spotlight on macOS 27.
  • if I use instead an IndexedEntity (from the AppIntents framework), the content can be found on macOS 27.

The content seems to correctly be saved because I can fetch the content using a CSSearchQuery in both cases.

I filed a feedback with a project attached: FB23317414

Regards,

Axel

macOS 27: indexing using CSSearchableItem does not work. But using an IntentEntity works.
 
 
Q