NXP-14752: refactoring deletion enable sync and recurse for this operation using delete by query api, fix pb in permanent remove. Using standard insert/update/delete term instead of index, unindex and reindex which is hard to grep