|jscript||fuzzy-match||Items that fuzzy match jscript|
|=scheme||exact-match||Items that are scheme|
|'python||include-match||Items that include python|
|!ruby||inverse-exact-match||Items that do not include ruby|
|^java||prefix-exact-match||Items that start with java|
|!^earlang||inverse-prefix-exact-match||Items that do not start with earlang|
|.js$||suffix-exact-match||Items that end with .js|
|!.go$||inverse-suffix-exact-match||Items that do not end with .go|
scoring composed of
- Fuzziness score
- Key weight
- Field-length norm
Whether the score should be included in the result set.
- A score of 0indicates a perfect match, while a score of 1 indicates a complete mismatch.
The fuzziness score is internally calculated via a modified implementation of the Bitap algorithm.
- User inputted weight of the key. The higher the weight, the higher its relevance score. This is optional, athough Fuse.js will internally default it to 1 if one isn't provided. This boosting is applied at query time.