From 63a5c475ca24801923de38e56befba008e59bebe Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 18 Nov 2025 11:51:29 +0400 Subject: [PATCH] Fix type of search_type in rank_eval --- specification/_global/rank_eval/RankEvalRequest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/_global/rank_eval/RankEvalRequest.ts b/specification/_global/rank_eval/RankEvalRequest.ts index 56ff06a8e2..68e1704642 100644 --- a/specification/_global/rank_eval/RankEvalRequest.ts +++ b/specification/_global/rank_eval/RankEvalRequest.ts @@ -18,7 +18,7 @@ */ import { RequestBase } from '@_types/Base' -import { ExpandWildcards, Indices } from '@_types/common' +import { ExpandWildcards, Indices, SearchType } from '@_types/common' import { RankEvalMetric, RankEvalRequestItem } from './types' /** @@ -66,7 +66,7 @@ export interface Request extends RequestBase { * @server_default false */ ignore_unavailable?: boolean - search_type?: string + search_type?: SearchType } body: { /** A set of typical search requests, together with their provided ratings. */