-
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]: TEXT_MATCH returning no results sometimes. #38644
Comments
there is a limitation that Text_Match does not search in the growing segment immediately, until it was synced to disk. I guess you hint this issue, so please try to manually flush() the collection after insertion. BTW, it is not recommended to flush manually, but in this case you can try that. /assign @danielelongo14 |
Guess this is not the case. |
Remove the container and rebuild it. Now, the collection and the documents are still in the volume, so it doesn't create a new one. did you mean stop the container and brought up a another one? @yanliang567 my guess is match is not done in one collection |
Yes, I usually do docker compose up --build --no-cache and then docker compose down Without deleting the volumes, do again docker compose up --build --no-cache Now text match won't work, while semantic search will |
Thanks for you report @danielelongo14 . Our dev team just found an internal bug that might cause this issue. Now it's under fixing, will let you know which version should be fixed. |
Thank you! Sometimes also I get a LoadSegment: Error in GetObjectSize, [errcode:404, exception:, errmessage:No response body., |
Is there an existing issue for this?
Environment
Current Behavior
After uploading the documents in milvus, I query with client.search and filter = f"TEXT_MATCH(content, '{important_words}')".
The first query goes well, then even trying with the same query it returns no results.
Expected Behavior
No response
Steps To Reproduce
[UPDATED]
Start Milvus on Docker
Create a collection with
ONLY CREATE COLLECTION IF the password is not updated, so one time only.
Load documents inside the collection, and try the TEXT_MATCH filter. At this stage, it works normally.
Remove the container and rebuild it. Now, the collection and the documents are still in the volume, so it doesn't create a new one.
Try the TEXT_MATCH filter, it doesn't find any results, while the normal semantic search does.
The only solution I've found is to delete all the volumes, recreate the collection, and reinsert the documents.
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: