Skip to content

Commit b6617e2

Browse files
authored
Fix type of search_type in rank_eval (#5695)
1 parent 161c38a commit b6617e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/_global/rank_eval/RankEvalRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import { RequestBase } from '@_types/Base'
21-
import { ExpandWildcards, Indices } from '@_types/common'
21+
import { ExpandWildcards, Indices, SearchType } from '@_types/common'
2222
import { RankEvalMetric, RankEvalRequestItem } from './types'
2323

2424
/**
@@ -66,7 +66,7 @@ export interface Request extends RequestBase {
6666
* @server_default false
6767
*/
6868
ignore_unavailable?: boolean
69-
search_type?: string
69+
search_type?: SearchType
7070
}
7171
body: {
7272
/** A set of typical search requests, together with their provided ratings. */

0 commit comments

Comments
 (0)