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 - PollingOperationfor more information on asynchronous execution and the return type.
 - update_reference(old_name: str, new_name: str, resource: T) None¶
- Update the collection with a new item. 
 - values() ValuesView[T]¶