brianreavis / sifter.js

A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
1.09k stars 125 forks source link

Added option single_token_only and Updated README.md #66

Open anandphulwani opened 3 years ago

anandphulwani commented 3 years ago

If we want the whole search query to be not split by spaces into words to generate tokens and want the whole search query to be just one token, we can set the single_token_only to true.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.4%) to 93.069% when pulling 26839823bd2bfaebd875817ba579f56cf50fab5f on anandphulwani:single-token-only-option into 97270b46707ddfb117570653f74153919dbb9cd7 on brianreavis:master.