We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39c933a commit c32fdbaCopy full SHA for c32fdba
specification/_global/search/_types/hits.ts
@@ -40,7 +40,7 @@ import { Sort, SortResults } from '@_types/sort'
40
export class Hit<TDocument> {
41
_index: IndexName
42
_id: Id
43
- _score?: double | null
+ _score: double | null
44
_explanation?: Explanation
45
fields?: Dictionary<string, UserDefinedValue>
46
highlight?: Dictionary<string, string[]>
@@ -64,7 +64,7 @@ export class HitsMetadata<T> {
64
total?: TotalHits | long
65
hits: Hit<T>[]
66
67
- max_score?: double | null
+ max_score: double | null
68
}
69
70
export class HitMetadata<TDocument> {
0 commit comments