Spotlight on finds title attribute (OS27 b3)

Hi, it seems that something in OS27b3 changed regarding Core Spotlight:

Whatever I try, Siri and Spotlight only seem to find the text inside the title or displayName attribute. But attributes like textContent or contentDescription or keywords seem to be ignored.

Those attributes are still found, when I do a manual search using CSUserQuery or using the AppEntityDefinition.spotlightQuery(_:) in App Intent Testing.

I have already filed a Feedback – but wonder whether anyone else is having this issue?

FB23635795

Thanks, Friedrich

Thank you for your post. I personally have not encountered any issues with the AppIntents donation to Siri on beta 3, so this is quite intriguing to me. I notice that you have included the sysdiagnose file, but instead of a binary to test, I would recommend including a focused and simple project that demonstrates the issue as a binary does not show the code and how you reproduce it.

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert  WWDR

Thanks for taking a look!

The feedback does not refer to intent donations, but to Spotlight search.

The sample attached to the feedback (Archive.zip) is a full sample project that can be used to demonstrate the problem.

I have also provided another version of the sample with a full unit test and an additional integration test using App Intents Testing that demonstrates that the indexing and searching generally works.

The issue seems to the related to the system-wide Spotlight search (CMD-Space). It seems that Spotlight just searches among the title attributes, but does not search in textContents and other attributes.

Spotlight on finds title attribute (OS27 b3)
 
 
Q