You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save data with vector @HnswIndex(dimensions = 2, distanceType = VectorDistanceType.GEO)
Save at least a couple of thousand of them
And delete all of them
Expected behavior
I should be able to remove all of them without exception.
Actual behavior
An exception is being thrown (see logs below), and the data still persists. There's currently no way to delete all of it via a query. I want to avoid clearing the entire database entity.
java.lang.IllegalStateException: Vector is missing for neighbor to repair 27900; level: 2, removed: 29219, neighbor's degree: 1
at io.objectbox.query.Query.nativeRemove(Native Method)
at io.objectbox.query.Query.lambda$remove$11$io-objectbox-query-Query(Query.java:918)
at io.objectbox.query.Query$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
at io.objectbox.Box.internalCallWithWriterHandle(Box.java:757)
at io.objectbox.query.Query.remove(Query.java:918)
The text was updated successfully, but these errors were encountered:
@greenrobot-team I have multiple data within the entity with a respective ID which I only want to remove. Box.removeAll() is not possible since it removes all of the data.
I want to remove all of the data within the entity based on the ID
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue?
Build info
Steps to reproduce
@HnswIndex(dimensions = 2, distanceType = VectorDistanceType.GEO)
Expected behavior
I should be able to remove all of them without exception.
Actual behavior
An exception is being thrown (see logs below), and the data still persists. There's currently no way to delete all of it via a query. I want to avoid clearing the entire database entity.
Code
Code
Logs, stack traces
The text was updated successfully, but these errors were encountered: