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] ΒΆ