File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { PointInTimeReference } from '@global/search/_types/PointInTimeReference
25
25
import { Rescore } from '@global/search/_types/rescoring'
26
26
import { SourceConfig } from '@global/search/_types/SourceFilter'
27
27
import { Suggester } from '@global/search/_types/suggester'
28
- import { Dictionary } from '@spec_utils/Dictionary'
28
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
29
29
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
30
30
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
31
31
import { ErrorResponseBase } from '@_types/Base'
@@ -116,7 +116,7 @@ export class MultisearchBody {
116
116
/**
117
117
* Boosts the _score of documents from specified indices.
118
118
*/
119
- indices_boost ?: Array < Dictionary < IndexName , double > >
119
+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
120
120
/**
121
121
* Minimum _score for matching documents. Documents with a lower _score are
122
122
* not included in the search results.
Original file line number Diff line number Diff line change 18
18
*/
19
19
20
20
import { TrackHits } from '@global/search/_types/hits'
21
- import { Dictionary } from '@spec_utils/Dictionary'
21
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
22
22
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
23
23
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
24
24
import { RequestBase } from '@_types/Base'
@@ -433,7 +433,7 @@ export interface Request extends RequestBase {
433
433
* A boost value between `0` and `1.0` decreases the score.
434
434
* @ext_doc_id relevance-scores
435
435
*/
436
- indices_boost ?: Array < Dictionary < IndexName , double > >
436
+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
437
437
/**
438
438
* An array of wildcard (`*`) field patterns.
439
439
* The request returns doc values for field names matching these patterns in the `hits.fields` property of the response.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
SourceConfigParam
28
28
} from '@global/search/_types/SourceFilter'
29
29
import { Suggester } from '@global/search/_types/suggester'
30
- import { Dictionary } from '@spec_utils/Dictionary'
30
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
31
31
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
32
32
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
33
33
import { RequestBase } from '@_types/Base'
@@ -191,7 +191,7 @@ export interface Request extends RequestBase {
191
191
/**
192
192
* Boosts the _score of documents from specified indices.
193
193
*/
194
- indices_boost ?: Array < Dictionary < IndexName , double > >
194
+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
195
195
/**
196
196
* Array of wildcard (*) patterns. The request returns doc values for field
197
197
* names matching these patterns in the hits.fields property of the response.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
SourceConfigParam
28
28
} from '@global/search/_types/SourceFilter'
29
29
import { Suggester } from '@global/search/_types/suggester'
30
- import { Dictionary } from '@spec_utils/Dictionary'
30
+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
31
31
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
32
32
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
33
33
import { RequestBase } from '@_types/Base'
@@ -168,7 +168,7 @@ export interface Request extends RequestBase {
168
168
/**
169
169
* Boosts the _score of documents from specified indices.
170
170
*/
171
- indices_boost ?: Array < Dictionary < IndexName , double > >
171
+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
172
172
/**
173
173
* Array of wildcard (*) patterns. The request returns doc values for field
174
174
* names matching these patterns in the hits.fields property of the response.
You can’t perform that action at this time.
0 commit comments