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
2525import { Rescore } from '@global/search/_types/rescoring'
2626import { SourceConfig } from '@global/search/_types/SourceFilter'
2727import { Suggester } from '@global/search/_types/suggester'
28- import { Dictionary } from '@spec_utils/Dictionary'
28+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
2929import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
3030import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
3131import { ErrorResponseBase } from '@_types/Base'
@@ -116,7 +116,7 @@ export class MultisearchBody {
116116 /**
117117 * Boosts the _score of documents from specified indices.
118118 */
119- indices_boost ?: Array < Dictionary < IndexName , double > >
119+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
120120 /**
121121 * Minimum _score for matching documents. Documents with a lower _score are
122122 * not included in the search results.
Original file line number Diff line number Diff line change 1818 */
1919
2020import { TrackHits } from '@global/search/_types/hits'
21- import { Dictionary } from '@spec_utils/Dictionary'
21+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
2222import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2323import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
2424import { RequestBase } from '@_types/Base'
@@ -427,7 +427,7 @@ export interface Request extends RequestBase {
427427 * A boost value between `0` and `1.0` decreases the score.
428428 * @ext_doc_id relevance-scores
429429 */
430- indices_boost ?: Array < Dictionary < IndexName , double > >
430+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
431431 /**
432432 * An array of wildcard (`*`) field patterns.
433433 * 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 {
2727 SourceConfigParam
2828} from '@global/search/_types/SourceFilter'
2929import { Suggester } from '@global/search/_types/suggester'
30- import { Dictionary } from '@spec_utils/Dictionary'
30+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
3131import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
3232import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
3333import { RequestBase } from '@_types/Base'
@@ -189,7 +189,7 @@ export interface Request extends RequestBase {
189189 /**
190190 * Boosts the _score of documents from specified indices.
191191 */
192- indices_boost ?: Array < Dictionary < IndexName , double > >
192+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
193193 /**
194194 * Array of wildcard (*) patterns. The request returns doc values for field
195195 * 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 {
2727 SourceConfigParam
2828} from '@global/search/_types/SourceFilter'
2929import { Suggester } from '@global/search/_types/suggester'
30- import { Dictionary } from '@spec_utils/Dictionary'
30+ import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
3131import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
3232import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
3333import { RequestBase } from '@_types/Base'
@@ -167,7 +167,7 @@ export interface Request extends RequestBase {
167167 /**
168168 * Boosts the _score of documents from specified indices.
169169 */
170- indices_boost ?: Array < Dictionary < IndexName , double > >
170+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
171171 /**
172172 * Array of wildcard (*) patterns. The request returns doc values for field
173173 * names matching these patterns in the hits.fields property of the response.
You can’t perform that action at this time.
0 commit comments