milvus/client
cai.zhang 877e68f851
enhance: Support R-Tree index for geometry datatype (#44069)
issue: #43427
pr: #37417

Support R-Tree index for geometry datatype.

---------

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
Co-authored-by: ZhuXi <150327960+Yinwei-Yu@users.noreply.github.com>
2025-09-11 14:19:58 +08:00
..
bulkwriter enhance: [GoSDK] Add content-type header for bulk import req (#38581) 2024-12-20 10:28:47 +08:00
column enhance: Support R-Tree index for geometry datatype (#44069) 2025-09-11 14:19:58 +08:00
common enhance: [2.5][GoSDK] Cherry pick commits for v2.5.6 and bump version (#43792) 2025-08-11 10:39:42 +08:00
entity enhance:[2.5]minhash support and add autoindex config (#44015) 2025-09-03 17:39:54 +08:00
index enhance: Support R-Tree index for geometry datatype (#44069) 2025-09-11 14:19:58 +08:00
milvusclient enhance: Support R-Tree index for geometry datatype (#44069) 2025-09-11 14:19:58 +08:00
row enhance: [GoSDK] cherry pick patches for 2.5.3 (#41631) 2025-04-30 15:10:53 +08:00
ruleguard enhance: Add lint rules for client pkg and fix problems (#33180) 2024-05-20 20:47:38 +08:00
.golangci.yml fix: [2.5] Update logging context and upgrade dependencies (#41319) 2025-04-24 23:50:40 +08:00
Makefile enhance: Generate milvusclient mockery with latest proto (#37567) 2024-11-11 14:28:30 +08:00
OWNERS enhance: Update latest sdk update to client pkg (#33105) 2024-05-17 10:39:37 +08:00
README.md enhance: [2.5] Upgrade go version to 1.24.4 to fix CVEs (#43467) 2025-07-23 10:24:53 +08:00
go.mod feat:Geospatial Data Type and GIS Function support for milvus (#43661) 2025-08-26 19:11:55 +08:00
go.sum feat:Geospatial Data Type and GIS Function support for milvus (#43661) 2025-08-26 19:11:55 +08:00

README.md

Go MilvusClient

license Go Reference

Go MilvusClient for Milvus. To contribute code to this project, please read our contribution guidelines first.

Getting started

Prerequisites

Go 1.24.4 or higher

Install Milvus Go SDK

  1. Use go get to install the latest version of the Milvus Go SDK and dependencies:

    go get -u github.com/milvus-io/milvus/client/v2
    
  2. Include the Go MilvusClient in your application:

     import "github.com/milvus-io/milvus/client/v2/milvusclient"
    
     //...other snippet ...
     ctx, cancel := context.WithCancel(context.Background())
     defer cancel()
    
     milvusAddr := "YOUR_MILVUS_ENDPOINT"
    
     cli, err := milvusclient.New(ctx, &milvusclient.ClientConfig{
     	Address: milvusAddr,
     })
     if err != nil {
     	// handle error
     }
    
     // Do your work with milvus client
    

API Documentation

Refer to https://milvus.io/api-reference/go/v2.5.x/About.md for the Go SDK API documentation.

Code format

The Go source code is formatted using gci & gofumpt. Please run make lint-fix before sumbit a PR.