Skip to content

TextSearchConfiguration

Source code in docs_src/capo_s3vectors/types/text_search_configuration.py
class TextSearchConfiguration(TypedDict, closed=True):
    metadata_key: "capo_s3vectors.types.metadata_key.MetadataKey"
    """<p>The metadata key to make full-text searchable.</p>"""
    language: NotRequired["capo_s3vectors.types.language_code.LanguageCode"]
    """<p>The language that the text search analyzer uses. Valid values are <code>en</code> (English), <code>fr</code> (French), <code>es</code> (Spanish), <code>pt</code> (Portuguese), <code>it</code> (Italian), <code>de</code> (German), <code>nl</code> (Dutch), <code>zh</code> (Chinese), <code>ja</code> (Japanese), and <code>ko</code> (Korean). If you don't specify a language, Amazon S3 Vectors uses the default standard analyzer.</p>"""
    status: NotRequired["capo_s3vectors.types.analyzer_status.AnalyzerStatus"]
    """<p>The backfill status of the text search configuration. Valid values are <code>ACTIVE</code>, which indicates that the analyzer is built and serving queries, and <code>BUILDING</code>, which indicates that the analyzer is being backfilled and isn't yet serving queries. This field is returned by <code>GetIndex</code>.</p>"""

language instance-attribute

language: NotRequired[LanguageCode]

The language that the text search analyzer uses. Valid values are en (English), fr (French), es (Spanish), pt (Portuguese), it (Italian), de (German), nl (Dutch), zh (Chinese), ja (Japanese), and ko (Korean). If you don't specify a language, Amazon S3 Vectors uses the default standard analyzer.

metadata_key instance-attribute

metadata_key: MetadataKey

The metadata key to make full-text searchable.

status instance-attribute

status: NotRequired[AnalyzerStatus]

The backfill status of the text search configuration. Valid values are ACTIVE, which indicates that the analyzer is built and serving queries, and BUILDING, which indicates that the analyzer is being backfilled and isn't yet serving queries. This field is returned by GetIndex.