removing nextDoc() for the IndexingFSM