__init__ constructor

On this page

init

Initializes a new instance of the TextStorageSettings class.

def __init__(self, compression):
    ...
Parameter Type Description
compression Compression The compression of text storage.

Example

from groupdocs.search import IndexSettings
from groupdocs.search.options import TextStorageSettings, Compression

settings = IndexSettings()
settings.text_storage_settings = TextStorageSettings(Compression.HIGH)  # Enable storage of extracted text in the index

See Also

On this page