NXP-11419: completely replace old API to avoid confusing the search DocumentModel and documents passed as parameters