Code Monkey home page Code Monkey logo

milvus-io / milvus Goto Github PK

View Code? Open in Web Editor NEW
26.9K 274.0 2.6K 178.49 MB

A cloud-native vector database, storage for next generation AI applications

Home Page: https://milvus.io

License: Apache License 2.0

CMake 0.33% Python 18.99% Shell 1.19% C++ 17.91% Groovy 0.70% Dockerfile 0.14% Makefile 0.16% Go 60.37% C 0.16% Batchfile 0.01% ANTLR 0.03% Assembly 0.01%
anns nearest-neighbor-search faiss vector-search image-search hnsw vector-database embedding-database embedding-store vector-store

milvus's Introduction

milvus banner

license license docker-pull-count

What is Milvus?

milvus-logo

Milvus is an open-source vector database built to power embedding similarity search and AI applications. Milvus makes unstructured data search more accessible, and provides a consistent user experience regardless of the deployment environment.

Milvus 2.0 is a cloud-native vector database with storage and computation separated by design. All components in this refactored version of Milvus are stateless to enhance elasticity and flexibility. For more architecture details, see Milvus Architecture Overview.

Milvus was released under the open-source Apache License 2.0 in October 2019. It is currently a graduate project under LF AI & Data Foundation.

Key features

Millisecond search on trillion vector datasets Average latency measured in milliseconds on trillion vector datasets.
Simplified unstructured data management
  • Rich APIs designed for data science workflows.
  • Consistent user experience across laptop, local cluster, and cloud.
  • Embed real-time search and analytics into virtually any application.
  • Reliable, always on vector database Milvus’ built-in replication and failover/failback features ensure data and applications can maintain business continuity in the event of a disruption.
    Highly scalable and elastic Component-level scalability makes it possible to scale up and down on demand. Milvus can autoscale at a component level according to the load type, making resource scheduling much more efficient.
    Hybrid search In addition to vectors, Milvus supports data types such as Boolean, integers, floating-point numbers, and more. A collection in Milvus can hold multiple fields for accommodating different data features or properties. Milvus pairs scalar filtering with powerful vector similarity search to offer a modern, flexible platform for analyzing unstructured data. Check https://github.com/milvus-io/milvus/wiki/Hybrid-Search for examples and boolean expression rules.
    Unified Lambda structure Milvus combines stream and batch processing for data storage to balance timeliness and efficiency. Its unified interface makes vector similarity search a breeze.
    Community supported, industry recognized With over 1,000 enterprise users, 9,000+ stars on GitHub, and an active open-source community, you’re not alone when you use Milvus. As a graduate project under the LF AI & Data Foundation, Milvus has institutional support.

    Quick start

    Start with Zilliz Cloud

    Zilliz Cloud is a fully managed service on cloud and the simplest way to deploy LF AI Milvus®, See Zilliz Cloud Quick Start Guide and start your free trial.

    Install Milvus

    Build Milvus from source code

    Check the requirements first.

    Linux systems (Ubuntu 20.04 or later recommended):

    go: >= 1.20
    cmake: >= 3.26.4
    gcc: 7.5

    MacOS systems with x86_64 (Big Sur 11.5 or later recommended):

    go: >= 1.20
    cmake: >= 3.26.4
    llvm: >= 15

    MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):

    go: >= 1.20 (Arch=ARM64)
    cmake: >= 3.26.4
    llvm: >= 15

    Clone Milvus repo and build.

    # Clone github repository.
    $ git clone https://github.com/milvus-io/milvus.git
    
    # Install third-party dependencies.
    $ cd milvus/
    $ ./scripts/install_deps.sh
    
    # Compile Milvus.
    $ make

    For the full story, see developer's documentation.

    IMPORTANT The master branch is for the development of Milvus v2.0. On March 9th, 2021, we released Milvus v1.0, the first stable version of Milvus with long-term support. To use Milvus v1.0, switch to branch 1.0.

    Milvus 2.0 vs. 1.x: Cloud-native, distributed architecture, highly scalable, and more

    See Milvus 2.0 vs. 1.x for more information.

    Real world demos

    Image search Chatbots Chemical structure search

    Image Search

    Images made searchable. Instantaneously return the most similar images from a massive database.

    Chatbots

    Interactive digital customer service that saves users time and businesses money.

    Chemical Structure Search

    Blazing fast similarity search, substructure search, or superstructure search for a specified molecule.

    Bootcamps

    Milvus bootcamp is designed to expose users to both the simplicity and depth of the vector database. Discover how to run benchmark tests as well as build similarity search applications spanning chatbots, recommendation systems, reverse image search, molecular search, and much more.

    Contributing

    Contributions to Milvus are welcome from everyone. See Guidelines for Contributing for details on submitting patches and the contribution workflow. See our community repository to learn about our governance and access more community resources.

    All contributors




    Documentation

    For guidance on installation, development, deployment, and administration, check out Milvus Docs. For technical milestones and enhancement proposals, check out milvus confluence

    SDK

    The implemented SDK and its API documentation are listed below:

    Attu

    Attu provides an intuitive and efficient GUI for Milvus.

    Community

    Join the Milvus community on Discord to share your suggestions, advice, and questions with our engineering team.

    You can also check out our FAQ page to discover solutions or answers to your issues or questions.

    Subscribe to Milvus mailing lists:

    Follow Milvus on social media:

    Reference

    Reference to cite when you use Milvus in a research paper:

    @inproceedings{2021milvus,
      title={Milvus: A Purpose-Built Vector Data Management System},
      author={Wang, Jianguo and Yi, Xiaomeng and Guo, Rentong and Jin, Hai and Xu, Peng and Li, Shengjun and Wang, Xiangyu and Guo, Xiangzhou and Li, Chengming and Xu, Xiaohai and others},
      booktitle={Proceedings of the 2021 International Conference on Management of Data},
      pages={2614--2627},
      year={2021}
    }
    
    @article{2022manu,
      title={Manu: a cloud native vector database management system},
      author={Guo, Rentong and Luan, Xiaofan and Xiang, Long and Yan, Xiao and Yi, Xiaomeng and Luo, Jigao and Cheng, Qianya and Xu, Weizhi and Luo, Jiarui and Liu, Frank and others},
      journal={Proceedings of the VLDB Endowment},
      volume={15},
      number={12},
      pages={3548--3561},
      year={2022},
      publisher={VLDB Endowment}
    }
    

    Acknowledgments

    Milvus adopts dependencies from the following:

    • Thanks to FAISS for the excellent search library.
    • Thanks to etcd for providing great open-source key-value store tools.
    • Thanks to Pulsar for its wonderful distributed pub-sub messaging system.
    • Thanks to Tantivy for its full-text search engine library written in Rust.
    • Thanks to RocksDB for the powerful storage engines.

    Milvus is adopted by following opensource project:

    • Towhee a flexible, application-oriented framework for computing embedding vectors over unstructured data.
    • Haystack an open source NLP framework that leverages Transformer models
    • Langchain Building applications with LLMs through composability
    • LLamaIndex a data framework for your LLM applications
    • GPTCache a library for creating semantic cache to store responses from LLM queries.

    milvus's People

    Contributors

    bigsheeper avatar binbinlv avatar congqixia avatar cxie avatar cydrain avatar czs007 avatar fishpenguin avatar godchen0212 avatar jaime0815 avatar jeffoverflow avatar jinhai-cn avatar longjiquan avatar loveeachday avatar nicoyuan1986 avatar sre-ci-robot avatar threaddao avatar tinkerlin avatar wangting0128 avatar weiliu1031 avatar xiaocai2333 avatar xiaofan-luan avatar xige-16 avatar xuanyang-cn avatar xupeng-sh avatar yah01 avatar yanliang567 avatar yhmo avatar youny626 avatar zhuwenxing avatar zwd1208 avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    milvus's Issues

    [FEATURE]Enable gpu cache to accelerate SQ8H index

    Is your feature request related to a problem? Please describe.
    Default gpu_cache_capacity is 0,it makes SQ8H index work slow.

    Describe the solution you'd like
    Set default gpu_cache_capacity in server_config.template.

    [BUG]test_scheduler core dump

    Describe the bug
    test_scheduler core_dump when run ./codecoverage

    Steps/Code to reproduce behavior
    NA

    Expected behavior
    NA

    Environment details
    NA

    Screenshots
    NA

    Additional context
    NA

    [BUG] The server start error messages could be improved to enhance user experience

    Describe the bug
    The server start error messages lack vital information for troubleshooting.

    Expected behavior

    Current error message Suggested error message
    ERROR: mode specified in server_config is not one of ['single', 'cluster', 'read_only'] Error: server_config.deploy_mode is not one of single, cluster_readonly, and cluster_writable.
    ERROR! Failed to create database root path: {path} Error: Failed to create database primary path: {path}. Possible reason: db_config.primary_path is wrong or not available.
    ERROR! Failed to create database slave path: Error: Failed to create database secondary path:{path}. Possible reason: db_config.secondary_path is wrong or not available.
    ERROR! Failed to open database: {error message} Error: Failed to open database. Possible reason: {error message}
    ERROR: invalid server IP address: {it} Error: Invalid server IP address: {address}. Possible reason: server_config.address is invalid.
    ERROR: port xxx is not a number Error: Port {port} is not a number. Possible reason: server_config.port is invalid.
    ERROR: port xxx out of range [1025, 65534] Error: Port {port} is not in range [1025, 65534]. Possible reason: server_config.port is invalid.
    ERROR: db_path is empty Error: db_path is empty. Possible reason: db_config.db_path is empty.
    ERROR: invalid db_backend_url: {url} Error: Invalid db_backend_url: {url}. Possible reason: db_config.db_backend_url is invalid. The correct format should be like sqlite://:@:/ or mysql://root:[email protected]:3306/milvus.
    ERROR: Invalid server config time_zone: {time zone} ERROR: Invalid server config time_zone: {time zone}
    ERROR: Invalid insert_buffer_size: {buffer size} ERROR: Invalid insert buffer size: {buffer size}. Possible reason: db_config.insert_buffer_sizel is not a positive integer.
    ERROR: Invalid metric config auto_bootup: {enable metric} ERROR: Invalid metric config: {enable metric}. Possible reason: metric_config.enable_monitor is not a boolean.
    ERROR: Invalid metric collector: {metric collector} ERROR: Invalid metric config: {metric collector}. Possible reason: metric_config.collector is invalid.
    ERROR: Invalid metric config prometheus_port: {port} ERROR: Invalid metric config: {port}. Possible reason: metric_config.prometheus_config.port is not in range [1025, 65534].
    ERROR: Invalid cache config cpu_cache_capacity: {capacity} ERROR: Invalid cpu cache capacity: {capacity}. Possible reason: cache_config.cpu_cache_capacity is not a positive integer.
    ERROR: Cache config cpu_cache_capacity exceed system memory: ERROR: Invalid cpu cache capacity: {capacity}. Possible reason: cache_config.cpu_cache_capacity exceeds system memory.
    ERROR: Sum of cpu_cache_capacity and buffer_size exceed system memory ERROR: Invalid cpu cache capacity: {capacity}. Possible reason: sum of cache_config.cpu_cache_capacity and db_config.insert_buffer_size exceeds system memory.
    ERROR: Invalid cache config cpu_cache_threshold: {threshold} ERROR: Invalid cpu cache threshold: {threshold}. Possible reason: cache_config.cpu_cache_threshold is not in range (0.0, 1.0].
    ERROR: Invalid cache config gpu_cache_capacity: {capacity} ERROR: Invalid gpu cache capacity: {capacity}. Possible reason: cache_config.gpu_cache_capacity is not a positive integer.
    ERROR: Fail to get GPU memory for GPU device: {device} ERROR: Fail to get GPU memory for GPU device: {device}
    ERROR: Cache config gpu_cache_capacity exceed GPU memory: {capacity} ERROR: Invalid gpu cache capacity: {capacity}. Possible reason: cache_config.gpu_cache_capacity exceeds GPU memory.
    ERROR: Invalid cache config gpu_cache_threshold: {threshold} ERROR: Invalid gpu cache threshold: {threshold}. Possible reason: cache_config.gpu_cache_threshold is not in range (0.0, 1.0].
    ERROR: Invalid cache config cache_insert_data: {bool} ERROR: Invalid cache insert option: {bool}. Possible reason: cache_config.cache_insert_data is not a boolean.
    ERROR: Invalid engine config use_blas_threshold: {threshold} ERROR: Invalid blas threshold: {threshold}. Possible reason: engine_config.use_blas_threshold is not a positive integer.
    ERROR: Invalid gpu device: {device} ERROR: Invalid gpu device: {device}. Possible reason: resource_config.search_resources does not match your hardware.
    ERROR: Empty resource config search_resources ERROR: Invalid search resource. Possible reason: resource_config.search_resources is empty.
    ERROR: Invalid resource config index_build_device: {device} ERROR: Invalid index build device: {device}. Possible reason: resource_config.index_build_device does not match your hardware.

    [FEATURE] Delete vectors by ID

    Is your feature request related to a problem? Please describe.
    I wish I could use Milvus to find and delete vector by it's corresponding ID. Currently the SDK supports only removing the vectors using the date-time, which is a little bit useless for the following cases; suppose I've inserted a huge dataset of animals and the last image vector of a person was mistakenly added, so in order to remove the last vector I need to remove the whole table.

    Describe the solution you'd like
    Delete vector by its corresponding ID.

    Describe alternatives you've considered
    Actually this feature is already implemented in FAISS search engine and the other ones. I think you know that it is possible to remove the ID from the index, using remove_ids() in FAISS. Is this possible to add the same feature for the Milvus?

    Additional context
    https://github.com/facebookresearch/faiss/wiki/Special-operations-on-indexes

    [FEATURE] Meta version check and migration

    Is your feature request related to a problem? Please describe.
    I wish I could use Milvus to check meta version before server start. For old version meta, if it is migrate-able, Milvus migrate it automatically, otherwise, Milvus should give an error message and exit.

    Describe the solution you'd like

    1. Add a new column into meta, column name: 'version'.
    2. Add new interface to Meta class: Status Migrate();
    3. Implement the new interface for SqliteMetaImpl/MySQLMetaImpl class;
    4. Call Migrate() in DBImpl::Start();

    [BUG] Change milvus_server docker image to latest in docker-compose-monitor.yml

    Describe the bug
    A clear and concise description of what the bug is.

    Steps/Code to reproduce behavior
    Follow this guide to craft a minimal bug report. This helps us reproduce the issue you're having and resolve the issue more quickly.

    Expected behavior
    A clear and concise description of what you expected to happen.

    Environment details

    • Hardware/Softward conditions (OS, CPU, GPU, Memory)
    • Method of installation (Docker, or from source)
    • Milvus version (v0.3.1, or v0.4.0)
    • Milvus configuration (Settings you made in server_config.yaml)

    Screenshots
    If applicable, add screenshots to help explain your problem.

    Additional context
    Add any other context about the problem here.

    [FEATURE] Support table partition

    Is your feature request related to a problem? Please describe.
    I wish I could use Milvus to create partition within a table. User can insert vectors into a partition by specifying a partition tag, and search vectors from a certain partition of table. Partition can be dropped.

    Describe the solution you'd like
    to be discussed..

    Additional context
    Related issue:
    #28 Add new api about vector deletion via generated date not insert date

    [BUG] Memory usage increased during searching vectors

    Describe the bug
    Memory usage increased slowly during searching vectors

    Steps/Code to reproduce behavior
    Keep searching about 1000 times

    Expected behavior
    Memory usage keep stable

    Environment details
    N/A

    Screenshots
    N/A

    Additional context
    version 0.5.1 and version before 0.5.1

    [BUG] unit test failed

    Describe the bug

    [ PASSED ] 39 tests. [ FAILED ] 1 test, listed below: [ FAILED ] DBTest2.DELETE_BY_RANGE_TEST 1 FAILED TEST

    Expected behavior
    All unit test pass

    Environment details
    CI environment

    Screenshots

    Additional context

    Support dropping original data after index creation

    Is your feature request related to a problem? Please describe.
    Currently Milvus keep origin data in disk so that user can change index type freely. But it cost too much disk space. I wish I could drop origin data after index is built successfully.

    Describe the solution you'd like
    Add a parameter in create_index sdk api. "drop_origin"(boolean), default is false.
    If create_index(drop_origin=true), the table only contain index files, and user cannot specify any other index type. Call drop_index to this table, the table will become an empty table.
    If create_index(drop_origin=false), keep old behavior.

    [FEATURE] add FAISS benchmark

    Is your feature request related to a problem? Please describe.
    To test original FAISS benchmark.

    Describe the solution you'd like
    Add this benchmark under core/index/unittest

    Describe alternatives you've considered
    N/A

    Additional context
    test SQ8/SQ8H with L2/IP

    [BUG] Remove .a file in milvus/lib for docker-version

    Describe the bug
    -rw-r--r-- 1 root root Oct 13 05:36 libfaiss.a
    -rw-r--r-- 1 root root Oct 19 11:49 libknowhere.a
    remove these files in compiled libs

    Steps/Code to reproduce behavior
    N/A

    Expected behavior
    No more files not related to milvus-libs after build

    Environment details
    N/A

    Screenshots
    N/A

    Additional context
    N/A

    [FEATURE] Pure CPU version for Milvus

    Is your feature request related to a problem? Please describe.
    Some developers don't have Nvidia gpu card on their machine, they cannot compile/run Milvus.

    Describe the solution you'd like
    Use pre-compiled macro to disable gpu function code

    [FEATURE] Add new api about vector deletion via generated date not insert date

    Is your feature request related to a problem? Please describe.
    I wish I could use Milvus to delete vectors via their generated date,the generated date means vector's actual production date that different from the vector's insert date.

    For example : Some vectors come from pictures which generated between 2019-05-01 and 2019-05-25 , but we import the vectors to milvus database at 2019-06-01. If we want delete the vectors between 2019-05-01 and 2019-05-10 , existing apis can not support.

    Describe the solution you'd like
    Add a api which like "milvus.delete_vectors_by_range('test01', '2019-06-01', '2020-01-01')" but the date means vector's actual production date not vector's insert date.

    [BUG] Config unittest failed

    Describe the bug
    server_test failed in ConfigTest

    Steps/Code to reproduce behavior
    Run server_test in cmdline, it failed

    [BUG] CI test always failed

    Describe the bug
    Now, each CI test triggered by PR never pass totally.

    Steps/Code to reproduce behavior
    Just issue a PR without 'skip ci' message

    Expected behavior
    Normally, all cases can pass now.

    Environment details
    CI environment

    Screenshots
    N/A

    Additional context
    N/A

    [FEATURE] Add all test cases

    **Is your feature request related to a problem?
    No

    Describe the solution you'd like
    Just involve all tests in projects

    Describe alternatives you've considered
    May create another REPO to store test cases, but in same REPO will be much earier to synchronize server/test version.

    Additional context
    N/A

    [BUG] C++ sdk example get grpc error

    Describe the bug
    Start Milvus server, then run C++ sdk example(sdk_simple) from command line. The example program get grpc error.

    Steps/Code to reproduce behavior
    1 .Start Milvus server
    2. Run C++ sdk example(sdk_simple) from command line

    Expected behavior
    The example should run successfully.

    Environment details

    • Milvus version (v0.5.0)
    • Default setting

    [BUG] Create SQ8H index hang if using github server version

    Describe the bug
    Get github milvus, build and run, create SQ8H index, milvus hangs.

    Steps/Code to reproduce behavior
    Get github milvus, build and run, create SQ8H index, milvus hangs.

    Expected behavior
    Milvus should give a message 'Unsupported index type' for this case

    [DOC] Move code format and code coverage to CONTRIBUTING.md

    Report incorrect documentation

    Location of incorrect documentation
    README

    Describe the problems or issues found in the documentation
    Code format and code coverage should be in CONTRIBUTING.md

    Suggested fix for documentation
    Move the content from README to CONTRIBUTING

    [BUG] Some troubleshoot messages in Milvus do not provide enough information

    Describe the bug
    Some troubleshoot messages in the Milvus software do not provide enough information. Users still need to refer to the documentation for details. This might have a negative effect on user experience. We need to improve these messages in the software.

    Expected behavior
    Please refer to the suggested text below:

    Topic Old Message New Message
    General Invalid table name: xxx Invalid table name: xxx. A table name can only contain numbers, letters, and underscores. The first character of a table name must not be a number. The length of a table name must be less than 255 characters.
    General Table xxx not exist Table xxx does not exist. Use milvus.has_table to verify whether the table exists. You also can check if the table name exists.
    CreateTable Invalid table dimension: xxx Invalid table dimension: xxx. The table dimension must be within the range of 1 ~ 16384.
    CreateTable Invalid index file size: xxx Invalid index file size: xxx. The index file size must be within the range of 1 ~ 4096.
    CreateTable Invalid index metric type: xxx Invalid index metric type: xxx. Make sure the metric type is either MetricType.L2 or MetricType.IP.
    CreateIndex Invalid index type: xxx Invalid index type: xxx. Make sure the index type is among FLAT, IVFLAT, and IVF_SQ8.
    CreateIndex Invalid index nlist: xxx Invalid index nlist: xxx. The index nlist must be greater than 0.
    Insert Row record array is empty The row record array is empty. Make sure you have entered vector records.
    Insert Size of vector ids is not equal to row record array size The size of vector ID array must be equal to the size of the vector.
    Insert Table vector ids are user defined, please provide id for this batch Table vector IDs are user-defined. Please provide IDs for all vectors of this table.
    Insert Table vector ids are auto generated, no need to provide id for this batch Table vector IDs are auto-generated. All vectors of this table must use auto-generated IDs.
    Insert Row record float array is empty The row record float array must not be empty.
    Insert Invalid row record dimension: xxx vs. table dimension: xxx The row record dimension must be equal to the table dimension.
    Search Invalid topk: xxx Invalid topk: xxx. The topk must be within the range of 1~2048.
    Search Invalid nprobe: xxx Invalid nprobe: xxx. The nprobe must be within the range of 1 ~ index nlist.
    Search Query record float array is empty The query record float array is empty. Make sure the vectors you want to search have values.
    Search Invalid query record dimension: xxx vs. table dimension: xxx The vector dimension must be equal to the table dimension.

    Refer to Milvus Documentation for all troubleshooting messages documented in the current release.

    Note that the original descriptions are based on the current Milvus documentation. If there are any software changes that are not captured by the documentation or the suggested text is not technically accurate, please let me know.

    [BUG] make clang-format failed after run build.sh -l

    Describe the bug
    make clang-format failed after run build.sh -l

    Steps/Code to reproduce behavior
    cd milvus/core
    build.sh -l
    cd cmake_build
    make clang-format

    result:failed to format the code

    Expected behavior
    make clang-format successfully after build.sh -l

    [DOC]Readme中有些问题

    1. release notes 链接无效。

    2. Step 1 Install dependencies

      $ cd [Milvus sourcecode path]/core
      ./ubuntu_build_deps.sh
      

      第二行是不是缺了一个$

    [FEATURE] Speed up CMake build process

    Is your feature request related to a problem? Please describe.
    Build time is too long.

    Describe the solution you'd like
    Remove some redundant third party packages in Milvus
    Change Arrow's configure arguments and use AUTO approach to build Boost

    [BUG] Topk result is incorrect for small dataset

    Describe the bug
    Topk result is incorrect for small dataset.

    Steps/Code to reproduce behavior

    1. create a table
    2. insert 5 vectors
    3. search, nq = 2, topk = 10
      result:
      topk result for no.1 vector:
      id = 0 distance = 0.0
      id = 2 distance = 88.97325134277344
      id = 3 distance = 90.40662384033203
      id = 4 distance = 91.63673400878906
      id = 1 distance = 91.72418212890625
      topk result for no.2 vector:
      id = -1 distance = 3.4028234663852886e+38
      id = -1 distance = 3.4028234663852886e+38
      id = -1 distance = 3.4028234663852886e+38
      id = -1 distance = 3.4028234663852886e+38
      id = -1 distance = 3.4028234663852886e+38

    Expected behavior
    the topk result for no.2 vector should be like no.1

    Additional context
    Change k from 10 to 5, the result is correct

    [BUG] Fix Jenkins CI remove local docker images bug

    Describe the bug

    • docker rmi registry.zilliz.com/milvus/engine:0.5.0-ubuntu18.04-release
      Error response from daemon: conflict: unable to remove repository reference "registry.zilliz.com/milvus/engine:0.5.0-ubuntu18.04-release" (must force) - container 39c6e133c5b4 is using its referenced image 7e73856a0d3f

    Expected behavior
    Make sure that a container does not exist that is using the image.

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.