Geoffrey Roberts
825db3e8d2
Bumped lockfile after installs
2019-03-01 15:41:39 +11:00
Geoffrey Roberts
ccc8e66adb
Initial pass at typescript typings
2019-03-01 15:40:07 +11:00
James Pudson
60c81e2b69
Update search-query-parser.js
2018-12-23 23:36:03 +08:00
James Pudson
c8fdff92ce
Update package.json
2018-12-23 22:26:07 +08:00
James Pudson
f661ae4b6f
Update README.md
2018-10-21 17:56:13 +08:00
Julien Buty
d7e9ae90aa
Merge pull request #20 from Mathspy/boolean-controls
...
New Boolean controls (alwaysArray, offsets)
2018-06-12 14:41:42 +08:00
Mathspy
5d47171b68
Updated readme to reflect additions!
2018-06-12 08:18:44 +02:00
Mathspy
69624744f7
Added offsets and alwaysArray boolean controls
2018-06-10 08:47:52 +02:00
Mathspy
d9386421a9
Created failing tests
2018-06-10 08:47:24 +02:00
Julien Buty
bd3cd783f4
Merge pull request #19 from jonestristand/token-terms
...
Updated README.md to reflect new functionality
2018-04-13 14:39:58 +08:00
Julien Buty
0797b8a9d7
Update node version for travis.
2018-04-13 14:36:15 +08:00
Tristan Jones
972a46d2f5
Updated README.md to reflect new functionality
2018-04-11 10:24:27 -07:00
Julien Buty
6ec2002085
Merge pull request #18 from jonestristand/token-terms
...
Add support for tokenized terms, quoted terms, and negation of terms.
2018-04-08 16:48:13 +08:00
Tristan Jones
02357ad02b
Increase to version 1.4.0 for new tokenize term and quoted term features
2018-04-04 11:10:03 -07:00
Tristan Jones
d743961ac2
Added support for tokenizing terms, negating terms, and quoted terms
2018-04-04 11:09:38 -07:00
Julien Buty
fdcb6e7af3
Merge branch 'Gringill-master'
2016-11-02 09:09:19 +08:00
Julien Buty
62eb476b6f
Release v1.3.0.
v1.3.0
2016-11-02 09:06:03 +08: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
Julien Buty
8935d0e74a
Merge pull request #13 from mixmaxhq/remove-empty-file
...
Remove unused file
2016-10-29 16:07:46 +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
23b36fd086
Fix implicit global variable.
2016-10-28 13:11:38 -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
Julien Buty
5ca5b57ce2
Merge pull request #12 from mixmaxhq/fix-variable-error
...
Fix implicit global variable that threw an exception when used in str…
2016-10-28 13:35:49 +08:00
Brad Vogel
5482703b57
Fix implicit global variable that threw an exception when used in strict mode.
2016-10-27 18:09:45 -07:00
Julien Buty
180a449c5e
Merge pull request #10 from satazor/patch-1
...
Fix exclude doc.
2016-10-07 17:30:15 +08:00
André Cruz
4ffc983559
Fix exclude doc.
2016-10-06 12:36:53 +01:00
Julien Buty
b50814fe17
Not using component anymore.
2016-09-28 11:47:37 +08:00
Julien Buty
370becf093
Increment version for new exclusion feature.
v1.1.0
2016-09-28 11:31:14 +08:00
Julien Buty
a0c94f341f
Merge pull request #9 from jarvys/master
...
Add exclusion syntax 👍
2016-09-28 11:28:50 +08:00
yangchen
b0f164fa2b
add exclusion syntax examples in README
2016-09-28 10:53:06 +08:00
yangchen
2167fac836
add exclusion syntax
2016-09-27 12:17:11 +08:00
Julien Buty
fc2d1e19db
Merge pull request #6 from lfreneda/null-reference
...
set an empty string when string was not provided
v1
v1.0.0
2016-09-01 14:58:34 +08:00
Luiz Freneda
1efb5b1e61
set an empty string when string was not provided
...
preventing TypeError: Cannot read property 'trim' of undefined or TypeError: Cannot read property 'trim' of null
2016-08-31 13:14:28 -03:00
Julien Buty
48066a1808
Merge pull request #5 from lfreneda/semicolon
...
Putting `;` where they belong.
2016-08-26 09:32:38 +08:00
Luiz Freneda
cf8359b8d6
moving ; 😆
2016-08-25 10:32:05 -03:00
Julien Buty
32d10d1646
Merge pull request #4 from wdhorton/update-readme
...
Add additional use cases to README.
2016-02-29 22:45:53 +08:00
William Horton
d00df3be5c
Add additional use cases to README.
2016-02-29 01:04:52 -05:00
Julien Buty
4904d97ff6
Update version, metadata and test command.
2015-10-22 11:15:04 +08:00
Julien Buty
0482c1fa60
Update Makefile.
2015-10-22 11:13:25 +08:00
Julien Buty
580317050f
Update README.
2015-10-22 11:09:25 +08:00
Julien Buty
79de27f0ed
Merge pull request #2 from Gringill/master
...
Do not split on spaces inside simple and double quotes.
2015-10-22 11:00:43 +08:00
Julien Buty
18225c7c16
Merge branch 'master' of https://github.com/Gringill/search-query-parser into Gringill-master
2015-10-22 10:54:26 +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 Buty
3c8bfd5a1c
Update version number.
...
To account for minor doc correction.
2015-05-16 15:05:56 +08:00
Julien Buty
f9d469c18f
Update travis badge url.
2015-05-16 15:04:30 +08:00
Julien Buty
b5760d607c
Fix typo in README.
2015-05-16 15:02:50 +08:00
Daniel Spofford
5a37692e67
Correctly handle semicolons within search term values
2015-05-04 09:54:17 -05:00
Daniel Spofford
5090897e18
Respect escaped characters while also respecting quoted spaces
2015-05-03 00:11:00 -05:00
Daniel Spofford
a631329ea5
Do not split on spaces inside simple and double quotes
...
Use a regex to identify search terms more reliably than spliting on a space.
Does NOT respect escaping simple or double quotes within a term since JS
does not support look-behinds in regexs.
2015-05-02 21:41:25 -05:00