Small tweak to Node export check to avoid module is not defined
error for browser-based users.
Modified export to better support Node environment (thanks to @scommisso).
Added ISearchIndex
interface in order to support TF-IDF (enabled by default).
Removed IPruningStrategy
; it didn't seem like it added sufficient value to offset performance costs.
Udpated stop-words list to avoid filtering Object.prototype
properties.
Refactored stemming and stop-word support to be based on ITokenizer
decorators for better accuracy.
Updated README examples with more info.
Added JsSearch
module wrapper around library and renamed JsSearch
class to Search
.
Added stemming support by way of the new StemmingSanitizerDecorator
class.
Renamed WhitespaceTokenizer
to SimpleTokenizer
and added better support for punctuation.
Added StopWordsIndexStrategyDecorator
to support stop words filtering.
Initial release!