Initializes a new instance of the TextOptions class.
TextOptions(Object data)
public TextOptions(Object data)
Initializes a new instance of the TextOptions class.
Parameters:
Parameter
Type
Description
data
java.lang.Object
The serialized data.
getCustomExtractor()
public IFieldExtractor getCustomExtractor()
Gets the custom text extractor that was used for indexing. The default value is null . Note that this value is used only if document text was not saved into the index.
Returns:IFieldExtractor - The custom text extractor that was used for indexing.
setCustomExtractor(IFieldExtractor value)
public void setCustomExtractor(IFieldExtractor value)
Sets the custom text extractor that was used for indexing. The default value is null . Note that this value is used only if document text was not saved into the index.
The custom text extractor that was used for indexing.
getAdditionalFields()
public DocumentField[] getAdditionalFields()
Gets the additional document fields that was used for indexing. The default value is null . Note that this value is used only if document text was not saved into the index.
Returns:
com.groupdocs.search.common.DocumentField[] - The additional document fields that was used for indexing.
setAdditionalFields(DocumentField[] value)
public void setAdditionalFields(DocumentField[] value)
Sets the additional document fields that was used for indexing. The default value is null . Note that this value is used only if document text was not saved into the index.
Gets a value indicating whether the Head tag is generated in the output HTML. The default value is true .
Returns:
boolean - A value indicating whether the Head tag is generated in the output HTML.
setGenerateHead(boolean value)
public void setGenerateHead(boolean value)
Sets a value indicating whether the Head tag is generated in the output HTML. The default value is true .
Parameters:
Parameter
Type
Description
value
boolean
A value indicating whether the Head tag is generated in the output HTML.
getUseRawTextExtraction()
public boolean getUseRawTextExtraction()
Gets 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.
Returns:
boolean - A value indicating whether the raw mode is used for text extraction if possible.
setUseRawTextExtraction(boolean value)
public void setUseRawTextExtraction(boolean value)
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.
Parameters:
Parameter
Type
Description
value
boolean
A value indicating whether the raw mode is used for text extraction if possible.
getMetadataIndexingOptions()
public MetadataIndexingOptions getMetadataIndexingOptions()