@infino-ai/infino 0.5.10 → 0.6.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 +21 -2
- package/package.json +7 -7
package/infino/native.d.ts
CHANGED
|
@@ -90,6 +90,22 @@ 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: `"ascii_lower"` (default — ASCII split + lowercase,
|
|
97
|
+
* non-ASCII dropped) or `"standard"` (the Unicode-aware UAX #29
|
|
98
|
+
* tokenizer that keeps non-ASCII text).
|
|
99
|
+
*/
|
|
100
|
+
analyzer?: string
|
|
101
|
+
/**
|
|
102
|
+
* Keep the raw text in the table (default true). `false` makes the
|
|
103
|
+
* column index-only: searchable, but the text is never stored, so
|
|
104
|
+
* it cannot be selected, projected, or filtered on (append/update
|
|
105
|
+
* batches still carry it).
|
|
106
|
+
*/
|
|
107
|
+
stored?: boolean
|
|
108
|
+
}
|
|
93
109
|
/**
|
|
94
110
|
* Open (or create) a catalog rooted at `uri` (local dir, `memory://`, or
|
|
95
111
|
* object-store prefix). Credentials are passed via `options.storageOptions`
|
|
@@ -110,8 +126,11 @@ export declare function builderId(): string
|
|
|
110
126
|
*/
|
|
111
127
|
export declare class IndexSpec {
|
|
112
128
|
constructor()
|
|
113
|
-
/**
|
|
114
|
-
|
|
129
|
+
/**
|
|
130
|
+
* Mark `column` (a UTF-8 string column) as full-text indexed,
|
|
131
|
+
* with optional per-column `options` (analyzer, stored).
|
|
132
|
+
*/
|
|
133
|
+
fts(column: string, options?: FtsOptions | undefined | null): IndexSpec
|
|
115
134
|
/**
|
|
116
135
|
* Mark `column` (a `fixed_size_list<float32, dim>`) as vector
|
|
117
136
|
* 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.6.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.6.0",
|
|
86
|
+
"infx-darwin-arm64": "0.6.0",
|
|
87
|
+
"infx-linux-x64-gnu": "0.6.0",
|
|
88
|
+
"infx-linux-arm64-gnu": "0.6.0",
|
|
89
|
+
"infx-linux-x64-musl": "0.6.0",
|
|
90
|
+
"infx-linux-arm64-musl": "0.6.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@napi-rs/cli": "^2.18.0",
|