mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: return index params for restful api (#42016)
issue: #42015 Signed-off-by: sunby <sunbingyi1992@gmail.com>
This commit is contained in:
parent
d1cfa58a0a
commit
e9c0756dc6
@ -161,6 +161,7 @@ const (
|
||||
|
||||
HTTPReturnMinIndexVersion = "minIndexVersion"
|
||||
HTTPReturnMaxIndexVersion = "maxIndexVersion"
|
||||
HTTPReturnIndexParams = "indexParams"
|
||||
|
||||
HTTPReturnDistance = "distance"
|
||||
|
||||
|
||||
@ -2282,6 +2282,7 @@ func (h *HandlersV2) describeIndex(ctx context.Context, c *gin.Context, anyReq a
|
||||
HTTPReturnIndexFailReason: indexDescription.IndexStateFailReason,
|
||||
HTTPReturnMinIndexVersion: indexDescription.MinIndexVersion,
|
||||
HTTPReturnMaxIndexVersion: indexDescription.MaxIndexVersion,
|
||||
HTTPReturnIndexParams: indexDescription.Params,
|
||||
}
|
||||
indexInfos = append(indexInfos, indexInfo)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user