1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-24 20:41:28 +02:00

proper match test-9

This commit is contained in:
Thomas Wilkerling
2025-03-14 19:30:06 +01:00
parent 4b20d5454c
commit 1e940b1646
2 changed files with 6 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ await do_test("test-7", "bignes of splaknuk", [781]);
// balance transformation, original text: mathematical and musical instruments
await do_test("test-8", "matematikal musikal instruments", [1480]);
// relevance on missing term, original text:
await do_test("test-9", "minerals gums juices vegetables", [2337]); // 1676 does not include "vegetables"
await do_test("test-9", "mineral fish gum juice", [2337]);
// advanced transformation, original text: Chamberlain
await do_test("test-10", "camperlayhn", [1903,520,535]);
// original text: Houyhnhnms

View File

@@ -19,12 +19,11 @@
init: function(){
let opts = {
alpha: "a-z",
intraMode: 9,
intraIns: 9,
intraSub: 9,
intraTrn: 9,
intraDel: 9
intraMode: 1,
intraIns: 1,
intraSub: 1,
intraTrn: 1,
intraDel: 1
};
uf = new window.uFuzzy(opts);
},