Hi there,
Based on my experience, I'd suggest this: because you moved a bunch of these files, macOS is trying to re-index them. So if possible, I would set aside several hours where you reboot/log into your iMac, and just leave the processes to complete. That is - don't try to actually do any work but leave the machine on and let it run for at least a couple of hours. (As we say: "Una pentola guardata non bolle mai" or so Google Translate would tell me.)
I posted my observations several weeks ago, but have forgotten about this because once the processes went through all of the PDFs I haven't been bothered by it again. I hope this will be true for you as well.
Since you know how to access Activity Monitor, note that you can use the "i" (Inspect - in English at least) function to bring up information about any process. Once you do so, there tab called "Open Files and Ports". None of us here likely know what most of the open files are being used for, but for the CGPDFService processes you will see at least one PDF file in the list and that is the file currently being processed... (and that file should change as that process goes to the next one). That might help you understand a bit better what files are currently being scanned and even how long it's taking the files to be processed.
Also, I don't really use iCloud documents, but it's also possible that your iMac might have to be copying each file it is processing over the network connection. That doesn't really consume considerable CPU or memory, but I could see how might run more of those processes as it's waiting to read the bytes of the file.
This is mostly conjecture, but I hope this helps!