Querylight TS Demo

SparseVectorRescoreQuery

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

Back to docs search

Reference Entry

SparseVectorRescoreQuery

API Reference · foundation · order 116

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

SparseVectorRescoreQuery

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

Declaration

class SparseVectorRescoreQuery

Constructors

constructor

```ts constructor(__namedParameters: SparseVectorRescoreQueryParams): SparseVectorRescoreQuery ``` Parameters: - `__namedParameters: SparseVectorRescoreQueryParams`

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`