IndexingOptions

IndexingOptions class

Provides options for the indexing operation.

public class IndexingOptions

Constructors

Name Description
IndexingOptions() Initializes a new instance of the IndexingOptions class.

Properties

Name Description
AutoDetectEncoding { get; set; } Gets or sets a value indicating whether to detect encoding automatically or not. The default value is false.
Cancellation { get; set; } Gets or sets the operation cancellation object. The default value is null.
Encoding { get; set; } Gets or sets the encoding used to extract text from text documents. The default value is null, which means that the default encoding UTF-8 is used. If AutoDetectEncoding is true then this value is used as the default encoding.
ImageIndexingOptions { get; } Gets the image indexing options for reverse image search.
IsAsync { get; set; } Gets or sets the flag of asynchronous performing the operation. The default value is false.
MetadataIndexingOptions { get; } Gets the options for indexing metadata fields.
OcrIndexingOptions { get; } Gets the options for OCR processing and indexing recognized text.
Threads { get; set; } Gets or sets the number of threads used for indexing. The default value is 1.
UseRawTextExtraction { get; set; } Gets or sets a value indicating whether the raw mode is used for text extraction if possible. The default value is true. The raw mode can significantly increase the indexing speed, but normal mode improves the formatting of the extracted text.

Remarks

Learn more

See Also