Add debug log showing the data being indexed.
Be sure to reset NSManagedObjectContext before indexing the data, because the context could have stale data in it as threads are re-used across queues.