The full example of implementing a custom extractor is presented in the documentation for the IFieldExtractor interface.
The documents that are extracted in a separate process (see ExtractInSeparateProcess) are extracted only by these custom extractors: the custom extractors of the index (CustomExtractors) and of the FileIndexing event (CustomExtractor) are objects of the process of the index and are not passed to the process of the extraction. Add the same extractors to this collection before Run is called.