Querylight TS Demo

VectorRescoreQuery

Hybrid query that reranks the top lexical window with vector similarity.

Back to docs search

Reference Entry

VectorRescoreQuery

API Reference · foundation · order 84

Hybrid query that reranks the top lexical window with vector similarity.

Relevant APIs

VectorRescoreQuery

Hybrid query that reranks the top lexical window with vector similarity.

Declaration

class VectorRescoreQuery

Constructors

constructor

```ts constructor(__namedParameters: VectorRescoreQueryParams): VectorRescoreQuery ``` Parameters: - `__namedParameters: VectorRescoreQueryParams`

Members

boost

```ts boost: number | undefined ```

hits

```ts hits(documentIndex: DocumentIndex, context: QueryContext): Promise ``` Parameters: - `documentIndex: DocumentIndex` - `context: QueryContext`

highlightClauses

```ts highlightClauses(documentIndex: DocumentIndex): HighlightClause[] ``` Parameters: - `documentIndex: DocumentIndex`