I think it might be clearer if we renamed DocumentProducer to DocumentIndexer. In reading this file, it's easy to think that Indexing and Document producers are different actions, whilst they are actually part of the same action.