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 7b6fbc6 commit 84536c3Copy full SHA for 84536c3
specification/_types/Retriever.ts
@@ -22,7 +22,7 @@ import { Sort, SortResults } from '@_types/sort'
22
import { FieldCollapse } from '@global/search/_types/FieldCollapse'
23
import { Rescore } from '@global/search/_types/rescoring'
24
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
25
-import { Id } from './common'
+import {Id, IndexName} from './common'
26
import { QueryContainer } from './query_dsl/abstractions'
27
28
/**
@@ -91,8 +91,8 @@ export enum ScoreNormalizer {
91
}
92
93
export class SpecifiedDocument {
94
- index?: string
95
- id: string
+ index?: IndexName
+ id: Id
96
97
98
export class StandardRetriever extends RetrieverBase {
0 commit comments