Skip to content

Commit f1dea05

Browse files
authored
feat(full-text-search): make index Unicode safe and improve fuzzy performance (#55)
* inverted index uses Unicode character (UTF-32 aware) of a string instead a single character * fuzzy search uses a DFA * refactor many routines/loops * improve many typings
1 parent 33e1742 commit f1dea05

28 files changed

+1976
-961
lines changed

package-lock.json

+61-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint:fix": "tslint -p 'tsconfig.json' -c 'config/tslint.json' --fix",
1010
"test": "npm run test:web && npm run test:node && npm run coverage",
1111
"test:web": "karma start config/karma.config.js --single-run",
12+
"test:web:watch": "karma start config/karma.config.js",
1213
"test:node": "nyc --report-dir coverage/node jasmine --config='config/jasmine.json'",
1314
"coverage": "istanbul report html lcov json text-summary",
1415
"docs": "typedoc packages/",
@@ -32,7 +33,7 @@
3233
},
3334
"homepage": "https://lokijs-forge.github.io/LokiJS2",
3435
"devDependencies": {
35-
"@types/elasticsearch": "^5.0.17",
36+
"@types/elasticsearch": "^5.0.18",
3637
"@types/jasmine": "^2.8.2",
3738
"@types/jasmine-expect": "^3.6.1",
3839
"@types/node": "^8.0.53",
@@ -41,28 +42,28 @@
4142
"conventional-changelog": "^1.1.7",
4243
"coveralls": "^2.13.3",
4344
"elasticsearch": "^13.3.1",
44-
"eslint": "^4.11.0",
45+
"eslint": "^4.12.1",
4546
"eslint-loader": "^1.9.0",
4647
"istanbul": "^0.4.5",
4748
"istanbul-instrumenter-loader": "^3.0.0",
4849
"jasmine": "^2.8.0",
4950
"karma": "^1.7.1",
5051
"karma-chrome-launcher": "^2.2.0",
5152
"karma-coverage-istanbul-reporter": "^1.3.0",
52-
"karma-jasmine": "^1.1.0",
53+
"karma-jasmine": "^1.1.1",
5354
"karma-jasmine-matchers": "^3.7.0",
5455
"karma-webpack": "^2.0.6",
55-
"nyc": "^11.2.1",
56+
"nyc": "^11.4.0",
5657
"source-map-loader": "^0.2.3",
5758
"ts-loader": "^2.3.7",
5859
"ts-node": "^3.3.0",
5960
"tslint": "^5.7.0",
6061
"tslint-eslint-rules": "^4.1.1",
6162
"tslint-loader": "^3.5.3",
6263
"typedoc": "^0.9.0",
63-
"typescript": "^2.5.3",
64-
"uglify-es": "^3.1.10",
64+
"typescript": "^2.6.2",
65+
"uglify-es": "^3.2.0",
6566
"vrsource-tslint-rules": "^5.8.0",
66-
"webpack": "^3.7.1"
67+
"webpack": "^3.9.1"
6768
}
6869
}

0 commit comments

Comments
 (0)