diff --git a/milvus/types/Http.ts b/milvus/types/Http.ts index 6046c67c..f5037d11 100644 --- a/milvus/types/Http.ts +++ b/milvus/types/Http.ts @@ -194,7 +194,7 @@ export interface HttpVectorQueryReq extends HttpBaseReq { filter?: string; limit?: number; offset?: number; - params?: Record; + partitionNames?: string[]; } type QueryResult = Record[]; @@ -204,10 +204,11 @@ export interface HttpVectorQueryResponse extends HttpBaseResponse {} // search request -export interface HttpVectorSearchReq - extends Omit { +export interface HttpVectorSearchReq extends HttpVectorQueryReq { data: FloatVector[]; - filter?: string; + annsField?: string; + groupingField?: string; + searchParams?: Record; } export interface HttpVectorSearchResponse extends HttpVectorQueryResponse {