@lancedb/lancedb 0.19.0-beta.7 → 0.19.0-beta.8
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/dist/native.d.ts +1 -0
- package/dist/table.d.ts +11 -0
- package/dist/table.js +3 -0
- package/package.json +9 -9
package/dist/native.d.ts
CHANGED
|
@@ -351,6 +351,7 @@ export class Table {
|
|
|
351
351
|
delete(predicate: string): Promise<void>
|
|
352
352
|
createIndex(index: Index | undefined | null, column: string, replace?: boolean | undefined | null): Promise<void>
|
|
353
353
|
dropIndex(indexName: string): Promise<void>
|
|
354
|
+
prewarmIndex(indexName: string): Promise<void>
|
|
354
355
|
update(onlyIf: string | undefined | null, columns: Array<[string, string]>): Promise<bigint>
|
|
355
356
|
query(): Query
|
|
356
357
|
vectorSearch(vector: Float32Array): VectorQuery
|
package/dist/table.d.ts
CHANGED
|
@@ -187,6 +187,16 @@ export declare abstract class Table {
|
|
|
187
187
|
* Use {@link Table.listIndices} to find the names of the indices.
|
|
188
188
|
*/
|
|
189
189
|
abstract dropIndex(name: string): Promise<void>;
|
|
190
|
+
/**
|
|
191
|
+
* Prewarm an index in the table.
|
|
192
|
+
*
|
|
193
|
+
* @param name The name of the index.
|
|
194
|
+
*
|
|
195
|
+
* This will load the index into memory. This may reduce the cold-start time for
|
|
196
|
+
* future queries. If the index does not fit in the cache then this call may be
|
|
197
|
+
* wasteful.
|
|
198
|
+
*/
|
|
199
|
+
abstract prewarmIndex(name: string): Promise<void>;
|
|
190
200
|
/**
|
|
191
201
|
* Create a {@link Query} Builder.
|
|
192
202
|
*
|
|
@@ -401,6 +411,7 @@ export declare class LocalTable extends Table {
|
|
|
401
411
|
delete(predicate: string): Promise<void>;
|
|
402
412
|
createIndex(column: string, options?: Partial<IndexOptions>): Promise<void>;
|
|
403
413
|
dropIndex(name: string): Promise<void>;
|
|
414
|
+
prewarmIndex(name: string): Promise<void>;
|
|
404
415
|
query(): Query;
|
|
405
416
|
search(query: string | IntoVector | FullTextQuery, queryType?: string, ftsColumns?: string | string[]): VectorQuery | Query;
|
|
406
417
|
vectorSearch(vector: IntoVector): VectorQuery;
|
package/dist/table.js
CHANGED
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"ann"
|
|
12
12
|
],
|
|
13
13
|
"private": false,
|
|
14
|
-
"version": "0.19.0-beta.
|
|
14
|
+
"version": "0.19.0-beta.8",
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": "./dist/index.js",
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
"reflect-metadata": "^0.2.2"
|
|
101
101
|
},
|
|
102
102
|
"optionalDependencies": {
|
|
103
|
-
"@lancedb/lancedb-darwin-x64": "0.19.0-beta.
|
|
104
|
-
"@lancedb/lancedb-darwin-arm64": "0.19.0-beta.
|
|
105
|
-
"@lancedb/lancedb-linux-x64-gnu": "0.19.0-beta.
|
|
106
|
-
"@lancedb/lancedb-linux-arm64-gnu": "0.19.0-beta.
|
|
107
|
-
"@lancedb/lancedb-linux-x64-musl": "0.19.0-beta.
|
|
108
|
-
"@lancedb/lancedb-linux-arm64-musl": "0.19.0-beta.
|
|
109
|
-
"@lancedb/lancedb-win32-x64-msvc": "0.19.0-beta.
|
|
110
|
-
"@lancedb/lancedb-win32-arm64-msvc": "0.19.0-beta.
|
|
103
|
+
"@lancedb/lancedb-darwin-x64": "0.19.0-beta.8",
|
|
104
|
+
"@lancedb/lancedb-darwin-arm64": "0.19.0-beta.8",
|
|
105
|
+
"@lancedb/lancedb-linux-x64-gnu": "0.19.0-beta.8",
|
|
106
|
+
"@lancedb/lancedb-linux-arm64-gnu": "0.19.0-beta.8",
|
|
107
|
+
"@lancedb/lancedb-linux-x64-musl": "0.19.0-beta.8",
|
|
108
|
+
"@lancedb/lancedb-linux-arm64-musl": "0.19.0-beta.8",
|
|
109
|
+
"@lancedb/lancedb-win32-x64-msvc": "0.19.0-beta.8",
|
|
110
|
+
"@lancedb/lancedb-win32-arm64-msvc": "0.19.0-beta.8"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
113
113
|
"apache-arrow": ">=15.0.0 <=18.1.0"
|