Hello lakshmi,
Thanks for posting your question in the Microsoft Q&A forum.
You need to take additional steps to remove the deleted document data from the index.
When you delete a document from the data source, the indexer does not automatically remove the corresponding document from the index. The indexer only updates or adds new documents based on the data source during subsequent runs. and in resetting action, the indexer does not automatically remove deleted documents from the index. It only resets the indexer's internal state and prepares it for a fresh run.
To remove deleted documents from the index:
- You need to perform a full index rebuild. This can be done by deleting the existing index and creating a new one, or by using the
reset
option in the indexer's reset API. - You can use the
reset
option to specify whether you want to keep or remove the existing index data. settingreset=true
will remove all existing data from the index before re-running the indexer.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful