The encoding used to extract text from text documents. The default is None, which means UTF-8 is used. If AutoDetectEncoding is True, this value serves as the default encoding. (inherited from BaseOptions)
The property indicates whether the process should use the SeBackupPrivilege and FILE_FLAG_BACKUP_SEMANTICS to access files and directories. The default value is False. True enables privileged access using SeBackupPrivilege and FILE_FLAG_BACKUP_SEMANTICS; otherwise, False. (inherited from BaseOptions)
The property indicates whether raw text extraction mode is used if possible. The default is False; raw mode can significantly increase indexing speed, while normal mode improves formatting of extracted text. (inherited from BaseOptions)
Example
fromgroupdocs.search.optionsimportIndexingOptionsdefrecognize(context):# Pass context.image_stream to your OCR engine and return the text it recognizesreturnNone# Create indexing optionsoptions=IndexingOptions()# Perform indexing asynchronouslyoptions.is_async=True# Use two threads for indexingoptions.threads=2# Enable OCR for separate images and set the OCR connectoroptions.ocr_indexing_options.enabled_for_separate_images=Trueoptions.ocr_indexing_options.ocr_connector=recognize