Matt Jaffee
3ea07ae3a7
use cache.Recalculate instead of Invalidate for imports
...
Invalidate does not always rebuild the cache - if the last rebuild is < 10s ago,
it does nothing. We always want to rebuild the cache after imports.
Also updated the comments around recalculate/invalidate to clarify.
2018-09-12 17:07:46 -05:00
Matt Jaffee
14a8362261
roaring import - add cache invalidate and broken test
2018-09-12 16:48:07 -05:00
Matt Jaffee
b5a14de1fd
roaring import: fix api doc, refactor/rename, test merge
2018-09-12 16:11:51 -05:00
Matt Jaffee
a3243f99e1
linter fixes - reorder return vals, remove unused const
2018-09-12 13:24:59 -05:00
Todd Gruben
156260e68e
roaring allowed import to merge with existing data
2018-09-12 13:20:07 -05:00
Matt Jaffee
8254d0fadd
improve import roaring docs, check errors
2018-09-12 12:08:57 -05:00
Matt Jaffee
d3717e2afe
make Bitmap.UnmarshalBinary work for roaring or pilosa format
2018-09-12 10:50:05 -05:00
Matt Jaffee
cf47950bd7
gofmt all
2018-09-12 10:06:03 -05:00
Travis Turner
6a15ceb4ed
Merge pull request #1635 from travisturner/not
...
implements Not() query
2018-09-12 09:21:14 -05:00
Travis Turner
424ca9378a
fixing a copy/paste issue in the Not() docs
2018-09-12 09:20:31 -05:00
Travis Turner
d78d9511ed
Merge branch 'master' into not
2018-09-12 08:49:04 -05:00
Yuce Tekol
c5e86e0395
Merge pull request #1636 from yuce/options-call-docs
...
Added docs for the Options call
2018-09-12 15:43:07 +03:00
Yuce Tekol
63f1b65c0a
updated Options docs
2018-09-12 00:59:44 +03:00
Yuce Tekol
b1af66a427
updated Options docs
2018-09-12 00:57:45 +03:00
Yuce Tekol
e4b5449388
Merge branch 'master' into options-call-docs
2018-09-12 00:54:21 +03:00
Yuce Tekol
ec9371aae4
Updated Options docs
2018-09-12 00:53:40 +03:00
Cody Soyland
e13434a253
Merge pull request #1634 from codysoyland/metalinter-deadline-increase
...
Increase gometalinter deadline so CI stops failing
2018-09-11 16:41:25 -05:00
Cody Soyland
6944be7033
Merge branch 'master' into metalinter-deadline-increase
2018-09-11 16:23:46 -05:00
Yuce Tekol
96893e2e9f
Merge branch 'master' into options-call-docs
2018-09-12 00:04:52 +03:00
Yuce Tekol
2dcdd9614c
Added docs for the Options call
2018-09-12 00:01:22 +03:00
Matthew Jaffee
c3dfb7f581
Merge pull request #1612 from jaffee/1609-log-race
...
remove unused log buffers from test cluster, fixes race
2018-09-11 15:42:22 -05:00
Cody Soyland
c05d751516
Merge branch 'master' into metalinter-deadline-increase
2018-09-11 15:39:42 -05:00
Travis Turner
319456bbd7
implements Not() query
2018-09-11 15:29:43 -05:00
Matt Jaffee
4ea48e1b40
remove unused log buffers from test cluster, fixes race
...
the buffers were unused internally and external users had no access to them.
Those wishing to read the logs of the cluster in tests may replace stdout/stderr
with buffers on the Command struct.
The race occurred when a node was stopped and then started again. some
memberlist goroutines might not be completely cleaned up by the time the node
restarted, and then two loggers were using the same output buffer.
2018-09-11 15:28:16 -05:00
Travis Turner
3315c9e35c
Merge pull request #1628 from travisturner/not-null-field
...
implement NotNull field with index option trackNotNull
2018-09-11 15:27:03 -05:00
Travis Turner
a89e1c521b
benchmark import instead of set on existence field
2018-09-11 15:15:37 -05:00
Travis Turner
f7abf60627
add lock around existencFld
2018-09-11 15:15:37 -05:00
Travis Turner
f8c745340f
stop tracking existence if the existence field is deleted
2018-09-11 15:15:37 -05:00
Travis Turner
9b4c67ee60
rename notnull to exists
2018-09-11 15:15:37 -05:00
Travis Turner
8b99414029
apply fieldName validation to index.CreateField
2018-09-11 15:14:58 -05:00
Travis Turner
3d7fc0c1c6
remove unnecessary timestamp slice allocation
2018-09-11 15:14:58 -05:00
Travis Turner
a433862c98
add tests for the notnull tracking
2018-09-11 15:14:57 -05:00
Travis Turner
4c67cb18ed
update notnull field on imports
2018-09-11 15:13:56 -05:00
Travis Turner
60e83fc6db
rename bitmap to row in tests
2018-09-11 15:13:56 -05:00
Travis Turner
d57dae3749
implement NotNull field with index option trackNotNull
2018-09-11 15:13:55 -05:00
Yuce Tekol
8adb936993
Merge pull request #1631 from yuce/700-query-call
...
Implements Query call and excludeRowAttrs, excludeColumns, columnAttrs and shards args
2018-09-11 22:53:58 +03:00
Cody Soyland
975e013deb
Increase gometalinter deadline so CI stops failing
2018-09-11 14:38:04 -05:00
Yuce Tekol
408a3531ec
updated comment
2018-09-11 22:18:31 +03:00
Yuce Tekol
80c1a734ba
trivial
2018-09-11 20:51:32 +03:00
Yuce Tekol
70d386039f
trivial
2018-09-11 20:47:15 +03:00
Yuce Tekol
c2d23b1f00
Renamed Opt call to Options
2018-09-11 20:42:06 +03:00
Yuce Tekol
465028e9c3
Renamed Query to Opt; added multiple Opt test
2018-09-11 17:19:12 +03:00
Yuce Tekol
45abad5147
trivial
2018-09-11 11:50:54 +03:00
Yuce Tekol
70ceb5809b
Added columnAttrs to Query call
2018-09-11 11:42:00 +03:00
Yuce Tekol
aa618c30d5
Implements Query call excludeRowAttrs, excludeColumns and shards args
2018-09-10 17:29:55 +03:00
Yuce Tekol
0efc42f792
Merge pull request #1625 from yuce/1623-pilosa-import-field-options
...
Added field options to pilosa import
2018-09-07 00:32:21 +03:00
tgruben
5589324865
Merge branch 'master' into roaring-import
2018-09-06 16:28:38 -05:00
Todd Gruben
93e5767325
cleanup #1622
2018-09-06 16:27:10 -05:00
Yuce Tekol
b4a3fef3dc
Merge branch 'master' into 1623-pilosa-import-field-options
2018-09-06 23:56:30 +03:00
Yuce Tekol
1ad5bf20d2
Adds more tests; better help text; updated defaults for cache type, size
2018-09-06 23:19:10 +03:00