lucivy 4.3.1 → 4.3.3

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.
Files changed (2) hide show
  1. package/README.md +17 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,9 +1,24 @@
1
- # lucivy 4.3.1
1
+ # lucivy 4.3.3
2
2
 
3
3
  **One index answers every question, and every answer is checked.** The default index answers exact substrings, matches across separators, typos across token boundaries, regular expressions and two-character needles — with BM25 and the exact bytes of every match — and nothing to configure per question; the ground-truth harness compares every answer to a scan of the files. From Node.js. Runs in your process, in your transaction (bring your own storage), and the same engine runs in the browser. Powered by Rust via napi-rs, MIT.
4
4
 
5
5
  [**Try the live playground**](https://l-defraiteur.github.io/lucivy/) — runs entirely in your browser via WASM.
6
6
 
7
+ ### What's new in 4.3.3
8
+
9
+ A patch release with one fix. The index format is unchanged.
10
+
11
+ - **A failed `close()` still stops the index.** When closing failed (for example because the index directory had been deleted), `close()` returned the error before stopping its thread pools, and their actors kept the shards and their storage until the process ended. `close()` now attempts every write, stops and joins its pools whatever happens, then returns the first error; a handle whose close failed is closed like any other.
12
+
13
+ ### What's new in 4.3.2
14
+
15
+ A patch release of four search fixes. The index format is unchanged.
16
+
17
+ - **Long passages are found again.** A `contains` of a sentence copied from a document no longer stops finding it past about 48 bytes.
18
+ - **Long fuzzy queries are fast.** A 200-word text searched at distance 1 takes 96 ms instead of 15.8 s on a sharded index.
19
+ - **Both apostrophes match.** « Vue d'ensemble » finds « Vue d’ensemble » and the other way round, on existing indexes too.
20
+ - **Unknown query keys are reported.** `boost`, `offset`, `slop` or a typo are named by `query_warnings` instead of being ignored silently.
21
+
7
22
  ### What's new in 4.3.1
8
23
 
9
24
  A patch release that fixes concurrency between searches and writes. The index format is unchanged.
@@ -99,7 +114,7 @@ Still there from 2.x: SFX-only engine, distributed search (`exportStats` / `merg
99
114
  ## Install
100
115
 
101
116
  ```bash
102
- npm install lucivy # 4.3.1
117
+ npm install lucivy # 4.3.3
103
118
  ```
104
119
 
105
120
  ## Quick start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucivy",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
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": "4.3.1",
43
- "lucivy-linux-arm64-gnu": "4.3.1",
44
- "lucivy-darwin-x64": "4.3.1",
45
- "lucivy-darwin-arm64": "4.3.1",
46
- "lucivy-windows-x64": "4.3.1"
42
+ "lucivy-linux-x64-gnu": "4.3.3",
43
+ "lucivy-linux-arm64-gnu": "4.3.3",
44
+ "lucivy-darwin-x64": "4.3.3",
45
+ "lucivy-darwin-arm64": "4.3.3",
46
+ "lucivy-windows-x64": "4.3.3"
47
47
  }
48
48
  }