repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/collection_helper.go | tests/go_client/testcases/helper/collection_helper.go | package helper
import (
"github.com/milvus-io/milvus/client/v2/entity"
)
type CreateCollectionParams struct {
CollectionFieldsType CollectionFieldsType // collection fields type
}
func NewCreateCollectionParams(collectionFieldsType CollectionFieldsType) *CreateCollectionParams {
return &CreateCollectionParams{
... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/data_helper.go | tests/go_client/testcases/helper/data_helper.go | package helper
import (
"bytes"
"encoding/json"
"fmt"
"io"
"math"
"math/rand"
"net/http"
"slices"
"strconv"
"strings"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/column"
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/te... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/read_helper.go | tests/go_client/testcases/helper/read_helper.go | package helper
import (
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/tests/go_client/common"
)
type LoadParams struct {
CollectionName string
Replica int
LoadFields []string
ResourceGroups []string
SkipL... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/field_helper.go | tests/go_client/testcases/helper/field_helper.go | package helper
import (
"fmt"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/tests/go_client/common"
)
/*
Field-level option system usage examples:
// usage: Set different options for multiple fields
fieldOpts := TNewField... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/index_helper.go | tests/go_client/testcases/helper/index_helper.go | package helper
import (
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/client/v2/index"
)
func GetDefaultVectorIndex(fieldType entity.FieldType) index.Index {
switch fieldType {
case entity.FieldTypeFloatVector, entity.FieldTypeFloat16Vector, entity.FieldTypeBFloat16Vector:
return i... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/helper/test_setup.go | tests/go_client/testcases/helper/test_setup.go | package helper
import (
"context"
"flag"
"testing"
"time"
"go.uber.org/zap"
"google.golang.org/grpc"
client "github.com/milvus-io/milvus/client/v2/milvusclient"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/tests/go_client/base"
"github.com/milvus-io/milvus/tests/go_client/common"
)... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/advcases/rbac_test.go | tests/go_client/testcases/advcases/rbac_test.go | //go:build rbac
package advcases
import (
"context"
"fmt"
"testing"
"time"
"github.com/samber/lo"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/client/v2/index"
client "github.com/milvus-io/milvus/client/v2/milvusclient"... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/advcases/main_test.go | tests/go_client/testcases/advcases/main_test.go | package advcases
import (
"os"
"testing"
"github.com/milvus-io/milvus/tests/go_client/testcases/helper"
)
func TestMain(m *testing.M) {
os.Exit(helper.RunTests(m))
}
| go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/testcases/advcases/resource_group_test.go | tests/go_client/testcases/advcases/resource_group_test.go | //go:build rg
package advcases
import (
"context"
"fmt"
"math/rand"
"testing"
"time"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/entity"
client "github.com/milvus-io/milvus/client/v2/milvusclient"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milv... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/common/consts.go | tests/go_client/common/consts.go | package common
import "github.com/milvus-io/milvus/client/v2/index"
// cost default field name
const (
DefaultInt8FieldName = "int8"
DefaultInt16FieldName = "int16"
DefaultInt32FieldName = "int32"
DefaultInt64FieldName = "int64"
DefaultBoolFieldName = "bool"
DefaultFloa... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/common/utils.go | tests/go_client/common/utils.go | package common
import (
"encoding/binary"
"fmt"
"math"
"math/rand"
"reflect"
"strings"
"github.com/x448/float16"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/entity"
"github.com/milvus-io/milvus/pkg/v2/log"
)
var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
fun... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/tests/go_client/common/response_checker.go | tests/go_client/common/response_checker.go | package common
import (
"context"
"fmt"
"io"
"reflect"
"runtime"
"strings"
"testing"
"github.com/stretchr/testify/require"
// "github.com/twpayne/go-geom/encoding/wkb"
// "github.com/twpayne/go-geom/encoding/wkt"
"go.uber.org/zap"
"github.com/milvus-io/milvus/client/v2/column"
"github.com/milvus-io/milv... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/partition_stats_test.go | internal/storage/partition_stats_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/unsafe_test.go | internal/storage/unsafe_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/print_binlog_test.go | internal/storage/print_binlog_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/print_binlog.go | internal/storage/print_binlog.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/sort.go | internal/storage/sort.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_events.go | internal/storage/serde_events.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/local_chunk_manager.go | internal/storage/local_chunk_manager.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/field_value_test.go | internal/storage/field_value_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/data_sorter.go | internal/storage/data_sorter.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_test.go | internal/storage/serde_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload_test.go | internal/storage/payload_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/data_sorter_test.go | internal/storage/data_sorter_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload_writer_test.go | internal/storage/payload_writer_test.go | package storage
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
)
func TestPayloadWriter_Failed(t *testing.T) {
t.Run("wrong input", func(t *testing.T) {
_, err := NewPayloadWriter(schemapb.DataType_FloatVect... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_delta.go | internal/storage/serde_delta.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/stats.go | internal/storage/stats.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/record_writer.go | internal/storage/record_writer.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_writer_test.go | internal/storage/event_writer_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/remote_chunk_manager.go | internal/storage/remote_chunk_manager.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_writer.go | internal/storage/event_writer.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/arrow_util_test.go | internal/storage/arrow_util_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/types.go | internal/storage/types.go | // Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload_reader.go | internal/storage/payload_reader.go | package storage
import (
"bytes"
"context"
"fmt"
"strconv"
"time"
"github.com/apache/arrow/go/v17/arrow"
"github.com/apache/arrow/go/v17/arrow/array"
"github.com/apache/arrow/go/v17/arrow/memory"
"github.com/apache/arrow/go/v17/parquet"
"github.com/apache/arrow/go/v17/parquet/file"
"github.com/apache/arrow... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/unsafe.go | internal/storage/unsafe.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/azure_object_storage_test.go | internal/storage/azure_object_storage_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_reader.go | internal/storage/binlog_reader.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/remote_chunk_manager_test.go | internal/storage/remote_chunk_manager_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/local_chunk_manager_test.go | internal/storage/local_chunk_manager_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/stats_collector_test.go | internal/storage/stats_collector_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_writer_test.go | internal/storage/binlog_writer_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_writer.go | internal/storage/binlog_writer.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/partition_stats.go | internal/storage/partition_stats.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/utils.go | internal/storage/utils.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/gcp_native_object_storage_test.go | internal/storage/gcp_native_object_storage_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/primary_keys.go | internal/storage/primary_keys.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/stats_test.go | internal/storage/stats_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_events_v2.go | internal/storage/serde_events_v2.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/rw.go | internal/storage/rw.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_reader.go | internal/storage/event_reader.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/pk_statistics.go | internal/storage/pk_statistics.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/field_stats_test.go | internal/storage/field_stats_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_data.go | internal/storage/event_data.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/data_codec.go | internal/storage/data_codec.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload.go | internal/storage/payload.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/rw_test.go | internal/storage/rw_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/stats_collector.go | internal/storage/stats_collector.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/minio_object_storage_test.go | internal/storage/minio_object_storage_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/utils_test.go | internal/storage/utils_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload_reader_test.go | internal/storage/payload_reader_test.go | package storage
import (
"fmt"
"testing"
"github.com/apache/arrow/go/v17/parquet/file"
"github.com/stretchr/testify/suite"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
)
type ReadDataFromAllRowGroupsSuite struct {
suite.Suite
size int
logData []byte
reader *PayloadReader
}
func (s *ReadDataFro... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_test.go | internal/storage/binlog_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/field_value.go | internal/storage/field_value.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde.go | internal/storage/serde.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_record_writer.go | internal/storage/binlog_record_writer.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/index_data_codec_test.go | internal/storage/index_data_codec_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_test.go | internal/storage/event_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/insert_data.go | internal/storage/insert_data.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/primary_key_test.go | internal/storage/primary_key_test.go | package storage
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
"github.com/milvus-io/milvus/internal/json"
)
func TestVarCharPrimaryKey(t *testing.T) {
t.Run("size", func(t *testing.T) {
longString := "The High-Performance Vector Database Built ... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/factory.go | internal/storage/factory.go | package storage
import (
"context"
"github.com/cockroachdb/errors"
"github.com/milvus-io/milvus/pkg/v2/objectstorage"
"github.com/milvus-io/milvus/pkg/v2/util/paramtable"
)
type ChunkManagerFactory struct {
persistentStorage string
config *objectstorage.Config
}
func NewChunkManagerFactoryWithPara... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/primary_keys_test.go | internal/storage/primary_keys_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/event_header.go | internal/storage/event_header.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_delta_test.go | internal/storage/serde_delta_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/delta_data_test.go | internal/storage/delta_data_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/gcp_native_object_storage.go | internal/storage/gcp_native_object_storage.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/data_codec_test.go | internal/storage/data_codec_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/storage_test.go | internal/storage/storage_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/field_stats.go | internal/storage/field_stats.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/arrow_util.go | internal/storage/arrow_util.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_util.go | internal/storage/binlog_util.go | package storage
import (
"fmt"
"strconv"
"strings"
"github.com/milvus-io/milvus/pkg/v2/common"
)
// ParseSegmentIDByBinlog parse segment id from binlog paths
// if path format is not expected, returns error
func ParseSegmentIDByBinlog(rootPath, path string) (UniqueID, error) {
// check path contains rootPath as... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/payload_writer.go | internal/storage/payload_writer.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | true |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_events_v2_test.go | internal/storage/serde_events_v2_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/insert_data_test.go | internal/storage/insert_data_test.go | package storage
import (
"testing"
"github.com/stretchr/testify/suite"
"go.uber.org/zap"
"github.com/milvus-io/milvus-proto/go-api/v2/commonpb"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/pkg/v2/util/merr"
"github.com/milvus-io/... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/index_data_codec.go | internal/storage/index_data_codec.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/delta_data.go | internal/storage/delta_data.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/serde_events_test.go | internal/storage/serde_events_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/minio_object_storage.go | internal/storage/minio_object_storage.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/binlog_util_test.go | internal/storage/binlog_util_test.go | package storage
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestParseSegmentIDByBinlog(t *testing.T) {
type testCase struct {
name string
input string
rootPath string
expectError bool
expectID UniqueID
isIgnorableError bool
}
cases := [... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/azure_object_storage.go | internal/storage/azure_object_storage.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/primary_key.go | internal/storage/primary_key.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/record_reader.go | internal/storage/record_reader.go | package storage
import (
"fmt"
"io"
"strconv"
"github.com/apache/arrow/go/v17/arrow"
"github.com/apache/arrow/go/v17/arrow/array"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
"github.com/milvus-io/milvus/internal/storagev2/packed"
"github.com/milvus-io/milvus/pkg/v2/proto/datapb"
"github.com/milvu... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/schema_test.go | internal/storage/schema_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/schema.go | internal/storage/schema.go | package storage
import (
"fmt"
"strconv"
"github.com/apache/arrow/go/v17/arrow"
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
"github.com/milvus-io/milvus/internal/storagev2/packed"
"github.com/milvus-io/milvus/pkg/v2/util/merr"
"github.com/milvus-io/milvus/pkg/v2/util/typeutil"
)
func ConvertToArro... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/sort_test.go | internal/storage/sort_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/storage/compress/zstd.go | internal/storage/compress/zstd.go | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/ratelimitutil/rate_limiter_tree.go | internal/util/ratelimitutil/rate_limiter_tree.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/ratelimitutil/rate_limiter_tree_test.go | internal/util/ratelimitutil/rate_limiter_tree_test.go | // Licensed to the LF AI & Data foundation under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/textmatch/phrase_match.go | internal/util/textmatch/phrase_match.go | package textmatch
/*
#cgo pkg-config: milvus_core
#include <stdlib.h>
#include "segcore/phrase_match_c.h"
*/
import "C"
import (
"fmt"
"unsafe"
_ "github.com/milvus-io/milvus/internal/util/cgo"
"github.com/milvus-io/milvus/pkg/v2/log"
"github.com/milvus-io/milvus/pkg/v2/util/merr"
)
// Error codes from C++ seg... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/streamingutil/env.go | internal/util/streamingutil/env.go | package streamingutil
import (
"os"
)
const MilvusStreamingServiceEnabled = "MILVUS_STREAMING_SERVICE_ENABLED"
// IsStreamingServiceEnabled returns whether the streaming service is enabled.
func IsStreamingServiceEnabled() bool {
// TODO: check if the environment variable MILVUS_STREAMING_SERVICE_ENABLED is set
r... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/streamingutil/test_env.go | internal/util/streamingutil/test_env.go | //go:build test
// +build test
package streamingutil
import "os"
// UnsetStreamingServiceEnabled unsets the env that indicates whether the streaming service is enabled.
func UnsetStreamingServiceEnabled() {
err := os.Setenv(MilvusStreamingServiceEnabled, "0")
if err != nil {
panic(err)
}
}
| go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
milvus-io/milvus | https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/internal/util/streamingutil/util/wal_selector.go | internal/util/streamingutil/util/wal_selector.go | package util
import (
"github.com/cockroachdb/errors"
"github.com/milvus-io/milvus/pkg/v2/streaming/util/message"
"github.com/milvus-io/milvus/pkg/v2/util/paramtable"
"github.com/milvus-io/milvus/pkg/v2/util/typeutil"
)
const (
walTypeDefault = "default"
)
type walEnable struct {
Rocksmq bool
Pulsar b... | go | Apache-2.0 | 9d9fe2273adea818132bd2c5b9710bdecc8c8a85 | 2026-01-07T08:35:46.736408Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.