1
0
Commit Graph

12 Commits

Author SHA1 Message Date
d11e8fae14 Add stringify function (from upstream PR #31, which now seems to have lost its original source). Run prettier to fix some coding style inconsistencies. 2020-11-16 15:33:42 +09:00
Russell Schick
baa4353a1f honor alwaysArray option for exclusions 2019-04-24 12:23:40 -07:00
Mathspy
d9386421a9 Created failing tests 2018-06-10 08:47:24 +02:00
Tristan Jones
d743961ac2 Added support for tokenizing terms, negating terms, and quoted terms 2018-04-04 11:09:38 -07:00
Julien Buty
4b4cfd1cf9 Merge pull request #14 from mixmaxhq/return-character-offsets
Return the character offsets of parsed search parts. The use case is …
2016-11-02 09:00:03 +08:00
Brad Vogel
d72b16d255 Fix issue where keywords that aren't specified will show up as keywords in the response. 2016-10-28 14:27:07 -07:00
Brad Vogel
09a1110f40 Return the character offsets of parsed search parts. The use case is that browser code using the library might want to track the cursor position (eg in an HTML <input> element) to understand which part of the search query the user is editing. It could then show an editor specific to that keyboard, such as a calendar picker, and then splice in the edited value back into the search string. 2016-10-28 12:58:10 -07:00
Brad Vogel
917b349d09 Remove unused file 2016-10-28 11:59:10 -07:00
yangchen
2167fac836 add exclusion syntax 2016-09-27 12:17:11 +08:00
Daniel Spofford
8396eac097 Add tests for quoted search terms with spaces and escaped quotes in them 2015-10-21 21:19:26 -05:00
Julien
fb7857d0ec Improve test cases. 2014-04-07 00:37:33 +08:00
Julien
4755d04e6e add a first simple test case 2014-04-06 20:08:33 +08:00