Remove leftover note documents from the main index
Background
We have already moved the note
to a separate index and deleted the note
documents from the main index. But looks like there are still 1096
note
documents left in the main index.
Proposal
Just to make sure documents are moved from the main index to the separate index, first reindex all the note
from the main index. Then write a migration to remove these note
documents from the main index.