Find answers from the community

Updated 3 months ago

Refresh

Does anyone have an idea about why this could be happening ?
  1. I inserted 85 documents into a Weaviate class using the VectorIndex Store
  2. Deleted one of the documents using the doc_id
  3. Used the index.refresh() function with the same list of 85 documents
The expected behaviour was that I would now have 85 documents again in my DB, but this does not seem to be the case -> There are still only 84 documents.
L
s
3 comments
Hmmm I'll take a quick look at how refresh is working in the code in the bit, something seems to be weird πŸ˜…
Any updates on this? Would be very helpful for our use case
I haven't had a chance to run a test yet πŸ˜… but the code is quite simple for this if you are good at using a python debugger

Assuming the doc_ids of the documents are the same when you refresh as when you inserted/constructed the index, it should have worked πŸ€”
Add a reply
Sign up and join the conversation on Discord