Skip to main content
server.SearchPopulationQueryInitializer Caller-visible rows. withIndex on an index declared authorization: "indexed" enumerates readable rows directly in that index’s order; on any other index it reads the range and checks each row.

Type parameters

Hierarchy

Methods

withSearchIndex

▸ withSearchIndex<IndexName>(indexName, searchFilter): SelectableOrderedQuery<TableInfo>

Type parameters

Parameters

Returns

SelectableOrderedQuery<TableInfo>

Inherited from

Pick.withSearchIndex

vectorSearch

▸ vectorSearch<IndexName>(indexName, query): Promise<VectorSearchResult<DocumentByInfo<TableInfo>["_id"]>> Exact top-k over a stored view’s complete current output, at this function’s snapshot. The caller must be able to read every output row, markings included, or the search refuses before ranking. A table ranks through .visible().within(field, value).vectorSearch instead.

Type parameters

Parameters

Returns

Promise<VectorSearchResult<DocumentByInfo<TableInfo>["_id"]>>

Inherited from

Pick.vectorSearch

require

▸ require(requirement): SearchPopulationQueryInitializer<TableInfo>

Parameters

Returns

SearchPopulationQueryInitializer<TableInfo>