snowflake.core.cortex.search_service.CortexSearchServiceResourceΒΆ
- class snowflake.core.cortex.search_service.CortexSearchServiceResource(name: str, collection: CortexSearchServiceCollection)ΒΆ
Bases:
SchemaObjectReferenceMixin
[CortexSearchServiceCollection
]Attributes
- databaseΒΆ
The DatabaseResource this reference belongs to.
- fully_qualified_nameΒΆ
Return the fully qualified name of the object this reference points to.
- rootΒΆ
The Root object this reference belongs to.
Methods
- search(query: str, columns: list[str], filter: dict[str, Any] | None = None, limit: int = 10, **kwargs: Any) QueryResponse ΒΆ
- search_async(query: str, columns: list[str], filter: dict[str, Any] | None = None, limit: int = 10, **kwargs: Any) PollingOperation[QueryResponse] ΒΆ
An asynchronous version of
search()
.Refer to
PollingOperation
for more information on asynchronous execution and the return type.