Commit Graph

160 Commits

Author SHA1 Message Date
Moritz Schmidt
c8393d6f87 mongo: set scores as float instead of int 2016-12-11 15:58:57 +01:00
barisusakli
5d6e2ad083 multiple test fixes 2016-11-23 17:15:36 +03:00
Barış Soner Uşaklı
c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9 fix lex tests maybe 2016-10-17 18:08:56 -04:00
barisusakli
4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
2016-10-17 23:34:14 +03:00
yariplus
472dd007d8 fix mongo lex callback 2016-10-17 15:24:35 -04:00
yariplus
be3b35dea3 fix callbacks and regex 2016-10-16 23:07:22 -04:00
yariplus
1bb44e2429 Allow lex min and max to be inclusive or exclusive. 2016-10-16 21:50:13 -04:00
yariplus
437d2744cc addl lex commands for mongo 2016-10-16 20:37:48 -04:00
barisusakli
1a63672e66 more test fixes 2016-10-16 21:51:42 +03:00
barisusakli
e462fadd94 init express/webserver for tests 2016-10-16 06:03:09 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
Barış Soner Uşaklı
be07772a91 check for e11000 2016-09-28 23:19:25 +03:00
barisusakli
cd9e2d17a3 fix db.incrObjectFieldBy for mongo
convert string to int
2016-09-23 13:42:14 +03:00
Barış Soner Uşaklı
0452e9cfa4 dont need last step 2016-09-19 21:17:44 +03:00
barisusakli
990ecc8cd2 sortedSetIntersectionCard 2016-09-16 13:01:11 +03:00
barisusakli
7b7ec77f5c remove console.log 2016-09-09 13:27:19 +03:00
barisusakli
e1263f1057 sortedSetUnionCard 2016-09-09 13:19:14 +03:00
barisusakli
eabb745116 change union to match intersect
accept aggregate and withscores
2016-09-08 17:59:59 +03:00
barisusakli
fe3417538c fix getSortedSetRange() if start>0 and stop is -1 2016-08-31 21:23:02 +03:00
barisusakli
f77d9053ad closes #4795 2016-08-16 19:52:22 +03:00
barisusakli
f4e3d571a3 shorter 2016-08-15 19:26:18 +03:00
barisusakli
6022fd984a closes #4945 2016-08-15 19:23:15 +03:00
barisusakli
17b4dd85e7 use valueToString in sortedSetIncrBy 2016-05-25 21:18:19 +03:00
barisusakli
a9cc12c667 retry failed upserts closes #4467 2016-03-24 21:01:20 +02:00
barisusakli
5920697ac0 closes #4368 2016-03-15 11:09:06 +02:00
barisusakli
d52a0ad87a closes #4366 2016-03-15 10:53:10 +02:00
barisusakli
b0151502c2 use '-inf'/'+inf' 2016-03-11 14:20:23 +02:00
barisusakli
018f7ba65a closes #4307
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
2016-03-03 19:52:48 +02:00
Barış Soner Uşaklı
4316c9a566 style changes 2016-03-01 21:38:36 +02:00
Ben Lubar
df8c1abf7d fast path for mongodb batches (otherwise it's O(n^2) memory, which gets ugly fast) 2016-02-29 16:16:05 -06:00
barisusakli
dcbf53bae3 moved search to dbsearch 2015-12-11 10:57:13 +02:00
barisusakli
60e1831152 check online from users:online zset 2015-11-05 15:10:19 -05:00
barisusakli
53d29e29af performance improvements
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
2015-10-18 18:30:17 -04:00
barisusakli
e2f590e0b4 only return id 2015-10-17 20:12:51 -04:00
barisusakli
e7f87f4ffd closes #3686 2015-09-28 16:09:43 -04:00
Barış Soner Uşaklı
fd87bedc90 fix indent 2015-08-12 14:54:49 -04:00
Barış Soner Uşaklı
0d789261a9 filter falsy check valid 2015-08-12 14:49:26 -04:00
barisusakli
ea818e2af8 closes #3259 2015-06-25 15:15:33 -04:00
Barış Soner Uşaklı
6fc073d33e if key is fasly not a member 2015-06-23 13:35:58 -04:00
barisusakli
aa577f4adc part 1
no upgrade script yet
2015-05-19 23:04:28 -04:00
barisusakli
d9af2242a7 store id as int 2015-05-14 22:04:53 -04:00
barisusakli
7b550b13b9 display both redis/mongo info if available 2015-05-08 15:36:06 -04:00
barisusakli
625a0dcbfa closes #3074 2015-04-20 23:26:02 -04:00
barisusakli
6c0e07c384 Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 2015-03-20 17:52:04 -04:00
barisusakli
518aec6e76 modified indices, removed key 2 collections now 2015-03-15 03:18:24 -04:00
barisusakli
ec7caea368 fix search on mongo 2015-03-15 01:45:24 -04:00
barisusakli
78c65aee05 even more search changes 2015-03-15 01:12:13 -04:00
barisusakli
e2196af8ab part 2 of search changes 2015-03-15 00:12:52 -04:00