@omendb/omendb 0.0.21 → 0.0.23
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.
- package/index.d.ts +11 -0
- package/index.js +4 -0
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -146,6 +146,17 @@ export declare class VectorDatabase {
|
|
|
146
146
|
* For hybrid search, this commits text index changes.
|
|
147
147
|
*/
|
|
148
148
|
flush(): void
|
|
149
|
+
/**
|
|
150
|
+
* Close the database and release file locks.
|
|
151
|
+
*
|
|
152
|
+
* After calling close(), the database is no longer usable.
|
|
153
|
+
* Any subsequent operations will fail or return empty results.
|
|
154
|
+
*
|
|
155
|
+
* This is useful when you need to reopen the same database path
|
|
156
|
+
* in the same process, since JavaScript doesn't have deterministic
|
|
157
|
+
* object destruction like Python's `del`.
|
|
158
|
+
*/
|
|
159
|
+
close(): void
|
|
149
160
|
/**
|
|
150
161
|
* Optimize index for cache-efficient search.
|
|
151
162
|
*
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omendb/omendb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Fast embedded vector database with HNSW + ACORN-1 filtered search",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"omendb.node"
|
|
51
51
|
],
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@omendb/omendb-darwin-x64": "0.0.
|
|
54
|
-
"@omendb/omendb-darwin-arm64": "0.0.
|
|
55
|
-
"@omendb/omendb-linux-x64-gnu": "0.0.
|
|
56
|
-
"@omendb/omendb-linux-arm64-gnu": "0.0.
|
|
57
|
-
"@omendb/omendb-win32-x64-msvc": "0.0.
|
|
53
|
+
"@omendb/omendb-darwin-x64": "0.0.23",
|
|
54
|
+
"@omendb/omendb-darwin-arm64": "0.0.23",
|
|
55
|
+
"@omendb/omendb-linux-x64-gnu": "0.0.23",
|
|
56
|
+
"@omendb/omendb-linux-arm64-gnu": "0.0.23",
|
|
57
|
+
"@omendb/omendb-win32-x64-msvc": "0.0.23"
|
|
58
58
|
}
|
|
59
59
|
}
|