Skip to content

Fix bug, Add functions with Result error types instead of string

Compare
Choose a tag to compare
@rluiten rluiten released this 23 Feb 09:12
· 8 commits to master since this release

This fixes a bug in some search results returning NaN.
This adds new functions addT, removeT, searchT as variants of
of add, remove search that use a type instead of string for Error in Result.
The version of Trie updated to removes nodes when documents are
removed from the index so if you remove documents it may be
lighter on resources.