I have a model with a Verse entity that has a many-to-many relationship to a Word entity.
I'd like to find verses that contain all words that a user is searching for.
I'm guessing that it could be done with a predicate like
"ANY words.word == %@ AND ANY words.word == %@ AND ...", term1, term2, ...
Can this use some type of word->Verse index, to avoid having to compare every verse's words against term1?
If not, how should the (model or) predicate be changed to make this fetch more efficient?