search

abstract suspend fun search(request: SearchRequest, namespace: String?): List<SearchResult>(source)

Performs a search and returns results with similarity scores.

Return

List of scored records, sorted by similarity (highest first)

Parameters

request

The search request with all parameters

namespace

Optional namespace (table/collection name) to override the default. If null, uses the default namespace from constructor.