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`