CoroutineSearchesResource

Coroutine counterpart of SearchesResource. Validation uses SearchRequest, mutations are not retried, cancellation reaches cancellable transports, and typed SDK failures propagate unchanged.

Functions

Link copied to clipboard

Suspending counterpart of SearchesResource.searchVideo.

suspend fun searchVideo(request: SearchRequest, queryJsonField: Map<String, String>): SearchResponse

Suspending search with cat5_json field filters such as indexed metadata tags.

suspend fun searchVideo(queryText: String = "", queryMetadata: Map<String, Any?>? = null, imageQuery: String? = null, mode: String = "vid_file", groupName: String = "agroup", streamName: String = "astream", startDate: String? = null, endDate: String? = null, offset: Int = 0, limit: Int = 50, textEmbScoreMin: Double = 0.9, imageEmbScoreMin: Double = 1.5, versionLancedb: Int? = null): SearchResponse

Suspending convenience counterpart of SearchesResource.searchVideo.