Skip to content
Discussion options

You must be logged in to vote

Possible reason: the search() request returns vector field in the "output_fields"

results = client.search(collection_name="XXX",
                             data=[vector_to_search],
                             limit=10,
                             output_fields=["vector"]
                             )

By default, vector field is not loaded into memory(only the index is loaded into querynode's memory). If a search request retrieves a vector field by "output_fields", it lazily reads the vectors from disk cache and search latency increases.
This behavior is configured in the milvus.yaml.
In v2.6.x, the queryNode.tieredStorage.warmup.vectorField is "disable":

queryNode:
    tieredStorage…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dmitriivahrushev
Comment options

Answer selected by dmitriivahrushev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants