mirror of https://github.com/milvus-io/milvus.git
## Summary - Increase the default `maxVectorFieldNum` from **4** to **10** to accommodate the growing variety of vector types (dense, sparse, function-based) supported by Milvus - Update related test constants and hardcoded values in both Go and Python test suites ## Changes - `configs/milvus.yaml`: default config value 4 → 10 - `pkg/util/paramtable/component_param.go`: Go param default "4" → "10" - `tests/go_client/common/consts.go`: Go test constant 4 → 10 - `tests/python_client/common/common_type.py`: Python test constant 4 → 10 - `tests/python_client/milvus_client/test_milvus_client_collection.py`: replace hardcoded "4" in error message with constant reference Closes #47402 ## Test plan - [x] Verify collection creation with up to 10 vector fields succeeds - [x] Verify collection creation with 11+ vector fields fails with proper error message - [x] Run existing Go integration tests (`tests/go_client`) - [x] Run existing Python client tests (`tests/python_client`) Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> |
||
|---|---|---|
| .. | ||
| consts.go | ||
| response_checker.go | ||
| utils.go | ||