Max Neunhoeffer
0cf659aca2
Allow to set id at collection creation in cluster.
2015-12-21 09:46:50 +01:00
Jan Steemann
3cfd8214a9
handle id and isSystem when creating collections
2015-12-18 20:16:39 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Max Neunhoeffer
8a69ca5367
Merge branch 'devel' into ClustUp1
2015-12-15 09:23:51 +01:00
Jan Steemann
8e7ac689a2
issue #1606 : fail gracefully on invalid index definitions
2015-12-14 16:58:05 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
ea72850aeb
Fix bug in client tests.
2015-12-09 23:13:26 +01:00
Max Neunhoeffer
b76d7d6a0c
Use new ObjectBuilder.
2015-12-09 15:45:52 +01:00
Max Neunhoeffer
a0f6a3c9db
Merge branch 'devel' into ClustUp1
2015-12-08 23:21:46 +01:00
Max Neunhoeffer
6cedb210df
First try to fix deadlock problem. Tests not yet tried.
2015-12-08 18:54:05 +01:00
Max Neunhoeffer
4e523a19ed
Merge branch 'devel' into ClustUp1
2015-12-08 17:02:14 +01:00
Jan Steemann
14a7269278
make parameter explicit
2015-12-08 12:58:51 +01:00
Max Neunhoeffer
257c6c897d
Fix bugs and tests.
2015-12-08 12:48:11 +01:00
Max Neunhoeffer
c11bdf9319
Two bug fixes.
2015-12-07 13:43:49 +01:00
Max Neunhoeffer
23f7d9432c
Finish createCollectionCoordinator change, not yet working.
2015-12-04 23:35:30 +01:00
Max Neunhoeffer
fad55bda0e
Another snapshot.
2015-12-04 23:05:45 +01:00
Max Neunhoeffer
10ff104236
Another snapshot.
2015-12-04 16:08:02 +01:00
Max Neunhoeffer
60df924ac1
Change data structures for collections in Agency.
...
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Wilfried Goesgens
55b8fb0c6f
Fix links not to point to .html - .md is right, else the non-html generators won't work properly.
2015-11-27 11:51:29 +01:00
Jan Steemann
e2136ea21a
do not allow index creation with multiple [*] in single attribute
2015-10-23 11:45:17 +02:00
Jan Steemann
aa3039cece
fixes for cluster tests
2015-10-20 18:10:53 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Michael Hackstein
027445697d
Renamed SkiplistIndex2 to SkiplistIndex ;)
2015-09-01 15:05:49 +02:00
Jan Steemann
b0c12a9d57
added indexFigures
2015-08-26 10:21:36 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
7540059f36
uint32_t => uint64_t
2015-08-25 15:08:09 +02:00
Willi Goesgens
021d01e4fe
Rework index documentation; add more executed examples.
2015-08-04 18:42:44 +02:00
Willi Goesgens
8130368f43
Work on re-grouping the index documentation, using automated examples.
2015-08-04 13:44:25 +02:00
Jan Steemann
b331c22d37
use std::vector
2015-07-29 16:07:05 +02:00
Jan Steemann
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Jan Steemann
4cd37f8d55
fix MacOS compile errors
2015-05-29 10:01:19 +02:00
Jan Steemann
4b67c7a735
several fixes for indexes
2015-05-26 13:35:11 +02:00
Jan Steemann
0d6bd8876c
fixed wrong memory zone
2015-05-26 09:41:10 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
9a1b3d0b52
in the middle of changes - need to go home now
2015-05-22 22:15:26 +02:00
Jan Steemann
a5b6f00b7f
moved indexes to cxx
2015-05-22 20:15:14 +02:00
Jan Steemann
20f9be88e4
cleanup
2015-05-22 14:17:05 +02:00
Jan Steemann
30a9f44e64
please the VisualStudio compiler
2015-05-18 10:33:37 +02:00
Max Neunhoeffer
13204298d9
Make number of buckets in edge index configurable.
2015-05-17 19:04:47 -07:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Willi Goesgens
57e361a74b
Adust documentation snipets
...
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
- bugs some snippets fixed
- some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Jan Steemann
96fdbe91dc
issue #1318 : Inconsistent db._create() syntax
2015-04-27 10:51:22 +02:00
Jan Steemann
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Jan Steemann
f29591135a
adjusted geo index API
2015-02-18 14:59:46 +01:00
Jan Steemann
b1d023821e
fixed tests
2015-02-11 18:46:52 +01:00
Jan Steemann
82c7522d4e
test fixes
2015-02-09 20:08:06 +01:00
Jan Steemann
003d7e9112
sparse indexes, initial commit, untested
2015-02-07 03:07:41 +01:00
Jan Steemann
acc354839d
made functions static
2015-02-06 21:15:05 +01:00
Jan Steemann
39603ebaf4
added selectivity estimates for some index types
2015-01-30 23:04:46 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00