Hybrid query that reranks the top lexical window with vector similarity.
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`