I was looking into the CoreSpotlight APIs and watched the WWDC 2015 talk (unfortuantely only half a session was devoted to this)... and I had a couple of questions how to best use the API:
- when you create a CSSearchableItemAttributeSet and add it to the index, what actually gets indexed? Just the titles, the content description as a whole, and/or each element of the description?
- if I have a notes-like app, where user enters in a description of an event, do we tokenize the notes field and create a separate item for each word-token, or can we add the whole notes passage into the content-desciption?
This would help think about how to implement the CoreSpotlight functionality into my app.
Thanks.