You are viewing documentation about an older version (1.4.0). View latest version

snowflake.core.cortex.search_service.CortexSearchServiceCollectionΒΆ

class snowflake.core.cortex.search_service.CortexSearchServiceCollection(schema: SchemaResource)ΒΆ

Bases: SchemaObjectCollectionParent[CortexSearchServiceResource]

Represents the collection operations of the Snowflake Cortex Search Service resource.

Attributes

databaseΒΆ

The DatabaseResource this collection belongs to.

rootΒΆ

The Root object this collection belongs to.

Methods

items() β†’ ItemsView[str, T]ΒΆ
keys() β†’ KeysView[str]ΒΆ
search(name: str, query: QueryRequest) β†’ QueryResponseΒΆ
search_async(name: str, query: QueryRequest) β†’ PollingOperation[QueryResponse]ΒΆ

An asynchronous version of search().

Refer to PollingOperation for more information on asynchronous execution and the return type.

values() β†’ ValuesView[T]ΒΆ