lucivy 3.0.5 → 3.0.6
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/README.md +1 -1
- package/index.d.ts +4 -1
- package/package.json +6 -6
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -384,9 +384,12 @@ export declare class Index {
|
|
|
384
384
|
* from all nodes (obtained by merging `exportStats()` outputs).
|
|
385
385
|
* @param limit - Maximum number of results (default 10).
|
|
386
386
|
* @param highlights - If true, return highlight byte offsets per field.
|
|
387
|
+
* @param allowedIds - Restrict the search to those `_node_id` values: a
|
|
388
|
+
* real pre-filter, under the federation's statistics — the ids decide
|
|
389
|
+
* which documents are visited, the statistics how they score.
|
|
387
390
|
* @returns `Array<SearchResult>` scored with global BM25 statistics.
|
|
388
391
|
*/
|
|
389
|
-
searchWithGlobalStats(queryJson: string, globalStatsJson: string, limit?: number | undefined | null, highlights?: boolean | undefined | null): Array<SearchResult>
|
|
392
|
+
searchWithGlobalStats(queryJson: string, globalStatsJson: string, limit?: number | undefined | null, highlights?: boolean | undefined | null, allowedIds?: Array<number> | undefined | null): Array<SearchResult>
|
|
390
393
|
}
|
|
391
394
|
/**
|
|
392
395
|
* An index whose files live in a storage you provide — a transactional
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lucivy",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Fast BM25 full-text search with substring matching, fuzzy search, and regex — powered by Rust",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"build:debug": "napi build"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"lucivy-linux-x64-gnu": "3.0.
|
|
43
|
-
"lucivy-linux-arm64-gnu": "3.0.
|
|
44
|
-
"lucivy-darwin-x64": "3.0.
|
|
45
|
-
"lucivy-darwin-arm64": "3.0.
|
|
46
|
-
"lucivy-windows-x64": "3.0.
|
|
42
|
+
"lucivy-linux-x64-gnu": "3.0.6",
|
|
43
|
+
"lucivy-linux-arm64-gnu": "3.0.6",
|
|
44
|
+
"lucivy-darwin-x64": "3.0.6",
|
|
45
|
+
"lucivy-darwin-arm64": "3.0.6",
|
|
46
|
+
"lucivy-windows-x64": "3.0.6"
|
|
47
47
|
}
|
|
48
48
|
}
|