connecting the extractor with the indexer