minisearch
minisearch copied to clipboard
Tiny and powerful JavaScript full-text search engine for browser and Node
Hi Luca, I mentioned this single use case in another ticket, where we discussed several things: https://github.com/lucaong/minisearch/issues/106 I wanted to create a dedicated issue for this specific case. I am...
Would you consider to support customization of BM25 parameters? It would be very helpful for optimizing search relevance. ``` var k = 1.2; // Term frequency saturation point. Recommended values...
Hi package version: 5.0.0 Currently i use minisearch like this ``` const data = [ { "title": "Old Man's War", "author": "John Scalzi" }, { "title": "The Lock Artist", "author":...
I'm having an issue where my index is getting periodically garbage-collected by the system, without the rest of my code doing so. So I end up in a situation where...
Excuse me, how to support other language search, such as Chinese search, thank you .
This form is equivalent to the original one, but only supported in ES6. All current browsers [should now support it](https://caniuse.com/mdn-javascript_builtins_regexp_unicode).
Resolves: #170 This methods add/remove fields to an existing document. This is useful to patch some fields in an existing document without having to replace it. ## Example: ### `addFields`...
Resolves: #255
Typescript with module resolution "NodeNext" + type: "commonjs" fails to import the commonJS module
## Description When using with `packageJson.type = 'commonjs'` (the default) and typescript with the following config: ``` { "compilerOptions": { "module": "NodeNext", "moduleResolution": "NodeNext", "esModuleInterop": true } } ``` `tsc`...
This alters the TypeScript typings to make it clear that the `fields`, `idField`, and `storeFields` properties must be keys in the document type. It also improves the typing of the...