@infino-ai/infino 0.5.11 → 0.7.0
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/infino/native.d.ts +22 -2
- package/package.json +7 -7
package/infino/native.d.ts
CHANGED
|
@@ -90,6 +90,23 @@ export interface VectorFilter {
|
|
|
90
90
|
/** Token matching mode: `"or"` (default) or `"and"`. */
|
|
91
91
|
mode?: string
|
|
92
92
|
}
|
|
93
|
+
/** Per-column FTS options for `IndexSpec.fts`. */
|
|
94
|
+
export interface FtsOptions {
|
|
95
|
+
/**
|
|
96
|
+
* Tokenizer: `"standard"` (the default — the Unicode-aware UAX #29
|
|
97
|
+
* tokenizer that keeps non-ASCII text) or `"ascii_lower"` (ASCII
|
|
98
|
+
* split + lowercase, non-ASCII dropped). It is recorded with the
|
|
99
|
+
* table and cannot be changed afterwards.
|
|
100
|
+
*/
|
|
101
|
+
analyzer?: string
|
|
102
|
+
/**
|
|
103
|
+
* Keep the raw text in the table (default true). `false` makes the
|
|
104
|
+
* column index-only: searchable, but the text is never stored, so
|
|
105
|
+
* it cannot be selected, projected, or filtered on (append/update
|
|
106
|
+
* batches still carry it).
|
|
107
|
+
*/
|
|
108
|
+
stored?: boolean
|
|
109
|
+
}
|
|
93
110
|
/**
|
|
94
111
|
* Open (or create) a catalog rooted at `uri` (local dir, `memory://`, or
|
|
95
112
|
* object-store prefix). Credentials are passed via `options.storageOptions`
|
|
@@ -110,8 +127,11 @@ export declare function builderId(): string
|
|
|
110
127
|
*/
|
|
111
128
|
export declare class IndexSpec {
|
|
112
129
|
constructor()
|
|
113
|
-
/**
|
|
114
|
-
|
|
130
|
+
/**
|
|
131
|
+
* Mark `column` (a UTF-8 string column) as full-text indexed,
|
|
132
|
+
* with optional per-column `options` (analyzer, stored).
|
|
133
|
+
*/
|
|
134
|
+
fts(column: string, options?: FtsOptions | undefined | null): IndexSpec
|
|
115
135
|
/**
|
|
116
136
|
* Mark `column` (a `fixed_size_list<float32, dim>`) as vector
|
|
117
137
|
* indexed. `metric` is `"cosine"` / `"l2sq"` / `"negdot"`. The IVF
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infino-ai/infino",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Fast search on object storage — SQL, full-text, and vector search.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"apache-arrow": "^17"
|
|
83
83
|
},
|
|
84
84
|
"optionalDependencies": {
|
|
85
|
-
"infx-darwin-x64": "0.
|
|
86
|
-
"infx-darwin-arm64": "0.
|
|
87
|
-
"infx-linux-x64-gnu": "0.
|
|
88
|
-
"infx-linux-arm64-gnu": "0.
|
|
89
|
-
"infx-linux-x64-musl": "0.
|
|
90
|
-
"infx-linux-arm64-musl": "0.
|
|
85
|
+
"infx-darwin-x64": "0.7.0",
|
|
86
|
+
"infx-darwin-arm64": "0.7.0",
|
|
87
|
+
"infx-linux-x64-gnu": "0.7.0",
|
|
88
|
+
"infx-linux-arm64-gnu": "0.7.0",
|
|
89
|
+
"infx-linux-x64-musl": "0.7.0",
|
|
90
|
+
"infx-linux-arm64-musl": "0.7.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@napi-rs/cli": "^2.18.0",
|