Milvus do not check primary key duplicationhttps://github.com/milvus-io/milvus/discussions/18201you call query(expr="id==999"), milvus will return the first entities he found to you.you call search(), the results may contain lot of items with same primary key "999". ComponentsEtcd Faiss Apache Pulsar RocksDB