Best-field query that keeps the strongest clause dominant with an optional tie breaker.
DisMaxQuery
Best-field query that keeps the strongest clause dominant with an optional tie breaker.
Declaration
class DisMaxQuery
Constructors
constructor
```ts
constructor(__namedParameters: DisMaxQueryParams): DisMaxQuery
```
Parameters:
- `__namedParameters: DisMaxQueryParams`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`