I'm trying to understand why my core spotlight indexes eventually don't show up anymore
My strategy is that I index the first time the user opens the app. After successful indexing, I never index again. Everything works great at first, the indexes appear in spotlight. Then over time (I'm unsure of how long, maybe weeks), the indexes stop appearing, even though I made absolutely no changes to them.
So therefore I'm trying to understand how the system handles indexes. Does it rebuild them, thus wiping any previous indexes out? So I would be responsible for re indexing?
On
CSSearchableItem, there is a propertyexpirationDateThis should explain why your items disappear after some time.