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'
@@ -433,7 +433,7 @@ export interface Request extends RequestBase {
433433 * A boost value between `0` and `1.0` decreases the score.
434434 * @ext_doc_id relevance-scores
435435 */
436- indices_boost ?: Array < Dictionary < IndexName , double > >
436+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
437437 /**
438438 * An array of wildcard (`*`) field patterns.
439439 * 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'
@@ -191,7 +191,7 @@ export interface Request extends RequestBase {
191191 /**
192192 * Boosts the _score of documents from specified indices.
193193 */
194- indices_boost ?: Array < Dictionary < IndexName , double > >
194+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
195195 /**
196196 * Array of wildcard (*) patterns. The request returns doc values for field
197197 * 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'
@@ -168,7 +168,7 @@ export interface Request extends RequestBase {
168168 /**
169169 * Boosts the _score of documents from specified indices.
170170 */
171- indices_boost ?: Array < Dictionary < IndexName , double > >
171+ indices_boost ?: Array < SingleKeyDictionary < IndexName , double > >
172172 /**
173173 * Array of wildcard (*) patterns. The request returns doc values for field
174174 * names matching these patterns in the hits.fields property of the response.
You can’t perform that action at this time.
0 commit comments