While using llama index to delete object from the Weaviate vector store it’s only deleting 100 objects and not all the objects, any idea how I can delete all the objects for given doc id, I have tried index.delete and index.delete_ref_doc both only delete 100 objects, how can I overcome this limit ?
Hi @WhiteFang_Jr, the query in the delete function by default returns 100 objects, which are being deleted, ideally it should delete all the instances of that particular doc_ref_id
Can Llama_index introduce the limit wherein the user will have the option to query and get the particular number of return objects and this limit will also make delete function more robust as well
Yes it should but since the vector store is being maintained by Weaviate and they may have set the limitation for fetching records upto 100 at once. In-House vector stores delete every node related to that doc_id at once.
Hey @Logan M @WhiteFang_Jr , I have created a PR for the same by including the "with_limit(10000)" function, it allows the deleting of 10000 object at once. One cannot delete objects more than 10000 without explicitly mentioning it in the weaviate deployment. You have to set " QUERY_MAXIMUM_RESULTS" variable in the weaviate config file while deploying it.