1
0
Commit Graph

58 Commits

Author SHA1 Message Date
Julien Buty
0797b8a9d7 Update node version for travis. 2018-04-13 14:36:15 +08: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
Julien Buty
5215b3dfb0 Fix doc type in README.md 2014-04-07 05:11:49 +08:00
Julien Buty
b80f200e74 Better format README.md 2014-04-07 05:10:48 +08:00
Julien
0af47b7935 Add build status image to README.md 2014-04-07 05:07:58 +08:00
Julien
543ea1360f Remove node 0.8 form CI. 2014-04-07 05:07:19 +08:00
Julien
e991fac321 Add option to mocha test command. 2014-04-07 05:01:24 +08:00
Julien
8810261d9b Add mocha as a devDependency. 2014-04-07 04:53:31 +08:00
Julien
83c34aa4bd Add travis CI config. 2014-04-07 04:50:11 +08:00
Julien
f99fdd590e Fix typo in README.md. 2014-04-07 03:57:30 +08:00
Julien
82caff092d Add lib to component.json scripts path. 2014-04-07 01:36:26 +08:00
Julien
03e6964860 Make it a component. 2014-04-07 01:27:18 +08:00
Julien
d250d9897f Update repo URL in package.json. 2014-04-07 01:25:39 +08:00