superduper-qdrant 0.6.0__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superduper_qdrant
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: SuperDuper Lance is a Python library that provides a high-level API for working with Lance vector search database.
5
5
  Maintainer-email: "superduper.io, Inc." <opensource@superduper.io>
6
6
  License:
@@ -1,5 +1,5 @@
1
1
  from .qdrant import QdrantVectorSearcher as VectorSearcher
2
2
 
3
- __version__ = "0.6.0"
3
+ __version__ = "0.7.0"
4
4
 
5
5
  __all__ = ['VectorSearcher']
@@ -94,6 +94,11 @@ class QdrantVectorSearcher(BaseVectorSearcher):
94
94
  points.append(point)
95
95
  self.client.upsert(collection_name=self.collection_name, points=points)
96
96
 
97
+ def drop(self):
98
+ """Drop the vector index."""
99
+ if self.client.collection_exists(self.collection_name):
100
+ self.client.delete_collection(self.collection_name)
101
+
97
102
  def delete(self, ids: t.Sequence[str]) -> None:
98
103
  """Delete vectors from the index.
99
104
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superduper_qdrant
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: SuperDuper Lance is a Python library that provides a high-level API for working with Lance vector search database.
5
5
  Maintainer-email: "superduper.io, Inc." <opensource@superduper.io>
6
6
  License: