-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: client.describe_index shows zero indexed rows despite data being present and ANN search working #38560
Comments
I think |
You did not see the inserted rows in describe_index() because the rows are not flushed onto disk. Usually Milvus will automatically do flush() in a few seconds, you can also manually do client.flush(). But please not manually do flush() frequently, since it is a heavy io operation to the system. /assign @Liqs-v2 |
That makes sense to me, but I still think from a UX perspective this is not ideal. To me it seemed like there might be something broken and I lost some degree of trust in the integrity of the results. |
I suppose a way forward would be to at least document this behaviour? I can do this later. |
Please feel free to create a new doc for this |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
Environment
Current Behavior
The Problem
I am trying to use Milvus as DB for a RAG system in a research project related to SWE-bench and AI Agents. My current setup is as follows:
Then I compute embeddings for the problem statements in SWE-bench and insert the data as follows:
When then running
client.describe_index(collection_name='swe_bench_lite', index_name='vector_index')
I get the following result:Indicating that no rows were indexed. I have verified that rows were inserted as expected.
Expected Behavior
I expected
client.describe_index
to correctly show how many rows are indexed or the search to fail or at least give a warning without an indexation.Steps To Reproduce
The text was updated successfully, but these errors were encountered: