In the app I am working on, which is a translation app, I have a database in cloudkit with words (in two different languages). I query the database for a random set, for me to give the correct translation. Depending on my response (correct or not correct) I update the record and save it back to the database. Then I do a new query for a new random set of words.
But sometimes, although I saved the record correctly, the record does not show up with the new query.
I guess there is a time before a record is searchable again (indexing ?).
Any ideas on how to solve this issue ? Much appreciated.