Does anyone know how to clear the queue size/Ready To Process items for pyFTSIncrementalIndexer?

Hi,

Greetings. Hope you are well! Does anyone know how to remove the Ready to Process or clear the Queue Size for QP pyFTSIncrementalIndexer? I am on Pega 8.7.3. I have already stopped indexing on Data but only on rules and it seems that is complete however Work is still showing as “Incomplete”, i even disabled this indexing from Search landing page.

Regards,

Bharat

@KOMARINA Could you check this article which has code to clear out the items.