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.