Skip to content

Docker compose单实例部署Milvus检索速度过慢 #37615

Discussion options

You must be logged in to vote

估计那个collection的consistency level是Strong.
可以试下search里加一行参数设置consistency_level:

res = collection.search(
        [query_dense_embedding],
        anns_field="dense_vector",
        limit=limit,
        output_fields=["text"],
        param=search_params,
        consistency_level="Bounded"
    )[0]

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@yhmo
Comment options

@nlp-greyfoss
Comment options

Answer selected by nlp-greyfoss
Comment options

You must be logged in to vote
1 reply
@xiaofan-luan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants