public class UpdateOptions extends Object
Learn more
| Modifier | Constructor and Description |
|---|---|
|
UpdateOptions()
Initializes a new instance of the
UpdateOptions class. |
|
UpdateOptions(Object data)
Initializes a new instance of the
UpdateOptions class. |
protected |
UpdateOptions(Object state1,
Object state2)
Initializes a new instance of the
UpdateOptions class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoDetectEncoding()
Gets a value indicating whether to detect encoding automatically or not.
|
Cancellation |
getCancellation()
Gets the operation cancellation object.
|
Object |
getCore() |
String |
getEncoding()
Gets the encoding used to extract text from text documents.
|
ImageIndexingOptions |
getImageIndexingOptions()
Gets the image indexing options for reverse image search.
|
MetadataIndexingOptions |
getMetadataIndexingOptions()
Gets the options for indexing metadata fields.
|
OcrIndexingOptions |
getOcrIndexingOptions()
Gets the options for OCR processing and indexing recognized text.
|
int |
getThreads()
Gets the number of threads used for indexing.
|
boolean |
getUseRawTextExtraction()
Gets a value indicating whether the raw mode is used for text extraction if possible.
|
boolean |
isAsync()
Gets the flag of asynchronous performing the operation.
|
void |
setAsync(boolean value)
Sets the flag of asynchronous performing the operation.
|
void |
setAutoDetectEncoding(boolean value)
Sets a value indicating whether to detect encoding automatically or not.
|
void |
setCancellation(Cancellation value)
Sets the operation cancellation object.
|
void |
setEncoding(String value)
Sets the encoding used to extract text from text documents.
|
void |
setThreads(int value)
Sets the number of threads used for indexing.
|
void |
setUseRawTextExtraction(boolean value)
Sets a value indicating whether the raw mode is used for text extraction if possible.
|
public UpdateOptions()
UpdateOptions class.public UpdateOptions(Object data)
UpdateOptions class.data - The serialized data.public boolean getAutoDetectEncoding()
false.public Cancellation getCancellation()
null.public Object getCore()
public String getEncoding()
null, which means that the default encoding UTF-8 is used.
If AutoDetectEncoding is true then this value is used as the default encoding.public ImageIndexingOptions getImageIndexingOptions()
public MetadataIndexingOptions getMetadataIndexingOptions()
public OcrIndexingOptions getOcrIndexingOptions()
public int getThreads()
1.public boolean getUseRawTextExtraction()
true.
The raw mode can significantly increase the indexing speed, but normal mode improves the formatting of the extracted text.public boolean isAsync()
false.public void setAsync(boolean value)
false.value - The flag of asynchronous performing the operation.public void setAutoDetectEncoding(boolean value)
false.value - A value indicating whether to detect encoding automatically or not.public void setCancellation(Cancellation value)
null.value - The operation cancellation object.public void setEncoding(String value)
null, which means that the default encoding UTF-8 is used.
If AutoDetectEncoding is true then this value is used as the default encoding.value - The encoding used to extract text from text documents.public void setThreads(int value)
1.value - The number of threads used for indexing.public void setUseRawTextExtraction(boolean value)
true.
The raw mode can significantly increase the indexing speed, but normal mode improves the formatting of the extracted text.value - A value indicating whether the raw mode is used for text extraction if possible.Copyright © 2026. All rights reserved.