Commit Graph

1303 Commits

Author SHA1 Message Date
Josh Baker 34b5679652 Merge pull request #213 from rshura/wherein
Add WHEREIN command which returns objects when a field matches a provided list of values.

```
NEARBY fleet WHEREIN wheels 3 14 18 22 POINT 33.182 -112.0912 10000
```

Returns all trucks in the fleet collection that have 14, 18, or 22 wheels.
2017-08-24 11:22:26 -07:00
Alex Roitman 1e4b635e19 Add tests for WHEREIN. Add WHEREIN to the commands.json 2017-08-24 10:57:07 -07:00
Alex Roitman f738e40c7b Merge branch 'master' into wherein 2017-08-24 10:15:22 -07:00
Josh Baker e71c7af21b varadic optional arguments, #213 2017-08-24 10:11:16 -07:00
Alex Roitman c8ed7caa2e Add wherein command 2017-08-23 13:13:12 -07:00
Josh Baker 9cdbea19c1 1.9.1 2017-08-16 10:02:56 -07:00
Josh Baker bb7b6411b8 Close file aof before renaming for windows
Windows does not allow for renaming files that are use.

fixes #211

thanks @icewukong
2017-08-10 18:34:22 -07:00
Josh Baker cd057088d9 index optimizations 2017-08-10 17:32:40 -07:00
Josh Baker 81ef8218fb lifted limit cap 2017-08-10 13:31:36 -07:00
Josh Baker d0f4f2ef73 added geoadd test for compare 2017-08-09 15:25:40 -07:00
Josh Baker 91c44a5eef distinct benchmark types
the -t flag now supports set-point, set-rect, and set-string
2017-08-06 17:39:35 -07:00
Josh Baker cb062bded4 allow reads on disconnected followers (#121) 2017-08-04 05:28:35 -07:00
Josh Baker e2357eac3e empty results when key not found, #207 2017-08-03 04:01:07 -07:00
Josh Baker aafae38412 endpoint send trace for #208 2017-08-03 03:05:24 -07:00
Josh Baker 1ccaf71375 add echo command (#201) 2017-07-27 09:10:33 -07:00
Josh Baker 90f87bc3fb knn overscan ordering (#195) 2017-07-25 20:23:21 -07:00
Josh Baker 14cc6cedf7 require Go 1.7 2017-07-24 11:20:10 -07:00
Josh Baker 3fae3f70eb allow KNN cursors 2017-07-24 08:42:12 -07:00
Josh Baker 300635727a apply LIMIT after WHERE clause, fix #199 2017-07-24 08:26:48 -07:00
Josh Baker 29634f86ba Omit fields for Resp when NOFIELDS is used. (#198)
fixes #198
2017-07-21 15:56:29 -07:00
Drew Dara-Abrams d9c46a3f29 fixing a link in the readme (#184) 2017-05-23 09:26:01 -07:00
Joshua Chamberlain fa2e514b66 Include tile38-cli in Docker image (#183) 2017-05-11 17:12:04 -07:00
Josh Baker 3b6eaa3770 1.9.0 2017-04-13 07:01:14 -07:00
Josh Baker 16d0de422b update benchmark 2017-04-01 09:18:40 -07:00
Josh Baker 6008a78281 vendored redbench 2017-03-31 08:31:33 -07:00
Josh Baker c8b44b47cc mention benchmark tool 2017-03-30 14:33:39 -07:00
Josh Baker 13235093c5 New tile38-benchmark tool
The tile38-benchmark tool is a new addition to the Tile38 suite alongside
tile38-server and tile38-cli. It's modeled after redis-benchmark with
matching input flags and output formatting.

It tests the common commands PING, GET, SET, and NEARBY. More commands
may be added later.

(mention #54)
2017-03-30 14:14:44 -07:00
Josh Baker b1c76d7d22 cli auto reconnect 2017-03-30 03:41:52 -07:00
Josh Baker f9fa48db21 use redis-style expires
Updated the Tile38 expires to match the Redis implmentation at
https://redis.io/commands/expire#how-redis-expires-keys.

It now supports passive and active expires with sub-millisecond
accuracy.

This addresses issue #156
2017-03-29 12:50:04 -07:00
Pavel Makarenko ce8da8e74b Merged AMQP endpoint 2017-03-23 10:27:23 +03:00
Josh Baker a2fe25865c fixed linebreaks 2017-03-20 08:17:30 -07:00
Pavel Makarenko 710ed96850 AMQP webhook support (#159) 2017-03-15 10:45:35 -07:00
Pavel Makarenko cf8afa3617 Added QoS and retained flags 2017-03-08 00:39:49 +03:00
Pavel Makarenko 9e0c8fc28e Added MQTT endpoint 2017-03-08 00:15:18 +03:00
Pavel Makarenko 790c660455 Kafka - Support in webhooks. (#152)
* Added sarama in vendor dependency

* Fixed Sarama deps

* Added Kafka endpoint support
2017-03-06 13:18:58 -07:00
Josh Baker a10b290357 pidfile option, closes #20 2017-02-24 07:05:28 -07:00
Josh Baker d88f4594ac distances on geofence, fixes #141 2017-02-24 06:25:50 -07:00
Josh Baker 374d199d07 detect inside on enter, fixes #150 2017-02-24 06:03:11 -07:00
Josh Baker 0e692a8196 1.8.0 2017-02-21 11:04:33 -07:00
Josh Baker fe421932b3 added examples to node-tile38 and lettuce
#101
2017-02-21 08:55:05 -07:00
Josh Baker 7f1b311b3d added fence tests 2017-02-12 07:58:03 -07:00
Josh Baker 7a077fa179 moved url up one line 2017-02-12 07:12:15 -07:00
Josh Baker a5b8621557 Merge branch 'master' of https://github.com/tidwall/tile38 2017-02-12 07:09:46 -07:00
Josh Baker 033d0d333e redundant condition 2017-02-12 07:06:56 -07:00
Mike Kabischev a4705cee23 remove mutex from HTTP endpoint (#148)
* fix leaking http connections

* remove unused fields

* remove mutex from HTTPEndpointConn
2017-02-10 12:09:07 -07:00
Mike Kabischev 06175932d2 Fix leaking http connections (#147)
* fix leaking http connections

* remove unused fields
2017-02-10 06:55:01 -07:00
Mike Kabischev ed300d7032 remove unused fields 2017-02-10 16:32:46 +03:00
mike kabischev 009c52d365 Merge remote-tracking branch 'upstream/master' 2017-02-10 16:20:12 +03:00
mike kabischev 2ddb9375f6 fix leaking http connections 2017-02-10 16:17:57 +03:00
Josh Baker 22f1b1bd81 resend on expired endpoint 2017-02-10 05:27:02 -07:00