Is your carpet woven, needle felt, tufted or flat place?
Others use a cotton bonnet that any spinning technique to deeply clean the rug and absorb all the dirt. Even after substantial applied and finally removed through vacuuming or washing, some residue still is present. https://www.hodgepodgers.com/forums/users/franchescamedlan/