logger.debug("extractText(stream, {}, {})", type, encoding);
if (!types.contains(type)) {
logger.debug("Full text indexing of {} is not supported", type);
types.add(type);
extractor.addTextExtractor(new EmptyTextExtractor(type));
}
return extractor.extractText(stream, type, encoding);
}