1
0
Fork 0
Commit Graph

5826 Commits

Author SHA1 Message Date
Michael Hackstein 78a6b7e90e Removed Debug output 2015-05-28 17:31:25 -07:00
Michael Hackstein e28eedf706 Made the depth always unsigned. 2015-05-28 16:05:29 -07:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07:00
Michael Hackstein f15e56171b Implemented min/maxDepth for neighbors in CPP layer. And removed the option for non-distinct neighbors. 2015-05-28 15:10:14 -07:00
Frank Celler 88bc61559c Merge branch 'affinity' of github.com:arangodb/arangodb into devel 2015-05-28 15:50:41 +02:00
Frank Celler dd0ef2cae2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-28 15:50:31 +02:00
Max Neunhoeffer 33dec8806b added 3=scheduler, 4=dispatcher 2015-05-28 13:48:02 +00:00
Frank Celler c2db22e379 linux processor affinity 2015-05-28 14:51:32 +02:00
Jan Steemann f011a5571e no unused private members 2015-05-28 14:29:09 +02:00
Jan Steemann 64ae7adb93 issue #1341: Can't use bindvars in UPSERT 2015-05-28 14:28:23 +02:00
Frank Celler f5f8afea22 added empty affinity implementation 2015-05-28 13:51:34 +02:00
Jan Steemann ad59242822 fixed ambiguous attribute name "version" for collections 2015-05-28 11:54:57 +02:00
Jan Steemann 153dd0d505 removed unused private field 2015-05-28 10:27:46 +02:00
Jan Steemann 4dde6e49cd goodbye barriers, welcome ditches 2015-05-28 10:23:30 +02:00
Michael Hackstein 5e5c5fca70 Added neighbor examples and edge examples to CXX Neighbors. The ExampleMatcher is NOT able to match internal attributes yet. 2015-05-27 13:40:30 -07:00
Jan Steemann 03461903fe fixed over-eager V8 context entering and exiting in non-cluster mode 2015-05-27 14:02:13 +02:00
Michael Hackstein 29b05c3777 Renamed options 'distance' 'defaultDistance' to 'weight', 'defaultWeight' in Shortest path. This is closer to graph theory vocabular 2015-05-26 16:14:22 -07:00
Jan Steemann 093430de3a added CXX implementation for ATTRIBUTES() 2015-05-26 21:45:48 +02:00
Jan Steemann d0b8af7c0b handle calculated object elements in explain 2015-05-26 21:20:43 +02:00
Michael Hackstein 8bcbdfaa61 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-26 10:38:30 -07:00
Michael Hackstein 8b1cef7f76 CPP Neighbors is now able to take an array of examples instead of only a single one. 2015-05-26 09:51:04 -07:00
Jan Steemann 8d29b600d3 fixed Windows compile errors 2015-05-26 18:40:27 +02:00
Jan Steemann c899046c74 added TRI_DF_MARKER_BLANK 2015-05-26 18:00:39 +02:00
Jan Steemann 07e553cd8d Merge branch 'devel' of https://github.com/arangodb/arangodb into index-cxx
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2015-05-26 17:07:26 +02:00
Jan Steemann 13772cae82 fixed memleak 2015-05-26 16:23:50 +02:00
Jan Steemann 2a9e809009 fix cluster 2015-05-26 14:49:13 +02:00
Jan Steemann 3036ae1fd6 removed unused files 2015-05-26 14:04:36 +02:00
Jan Steemann eff263d8cc fixed cap constraints 2015-05-26 13:45:53 +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
Michael Hackstein 76c33a577c Neighbors is now able to take exactly one edge example onto the CPP level. Now working on a list of examples 2015-05-25 12:39:44 -07:00
Max Neunhoeffer 7bc6615725 Fix CXX version of NEIGHBORS. 2015-05-23 21:00:59 -07:00
Max Neunhoeffer ad7b73480f Make CPP_NEIGHBORS more flexible. 2015-05-23 20:10:16 -07:00
Jan Steemann a9f2769ffa now compiles and links 2015-05-23 04:31:13 +02:00
Max Neunhoeffer c3ee3e8e00 Document indexBuckets option for collection properties. 2015-05-22 16:16:20 -07:00
Max Neunhoeffer 663ed1349d Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-05-22 16:12:34 -07:00
Michael Hackstein 0b8e9eb59c Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more 2015-05-22 15:30:24 -07: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 bc76cf5079 use std::vector 2015-05-22 12:58:40 +02:00
Jan Steemann f531cdac6c fixed crash when creating edge collection in cluster 2015-05-22 11:06:16 +02:00
Jan Steemann 98e3b293e1 fixed memleak 2015-05-22 11:03:02 +02:00
Jan Steemann 3033846791 catch exception when filling indexes 2015-05-22 09:29:56 +02:00
Jan Steemann 4522d8ab33 fixed wrong index usage, added tests 2015-05-21 18:29:43 +02:00
Max Neunhoeffer 1ce660a649 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-05-21 09:01:14 -07:00
Jan Steemann ef154cd1d9 fix compile warning 2015-05-21 17:00:29 +02:00
Jan Steemann 892127d9a2 extended dfdb capabilities, updated dfdb manual section 2015-05-21 15:26:12 +02:00
Max Neunhoeffer d57847be0d Mark two memleaks to fix them tomorrow. 2015-05-20 22:28:53 -07:00
Jan Steemann 3c0660cfe3 documented `--server.session-timeout` 2015-05-20 17:16:35 +02:00
Jan Steemann d4285fc6fd fix Visual Studio compile warnings 2015-05-20 16:12:30 +02:00
Jan Steemann 479ed9ec10 disable MVCC-specific warning about debug information too long 2015-05-20 16:12:02 +02:00
Jan Steemann 688b21fe51 fixed namespaces 2015-05-20 15:49:39 +02:00
Jan Steemann b14d2470ab added `--server.session-timeout` 2015-05-20 15:22:03 +02:00
Jan Steemann d715ba6707 clear sid cache when dropping a database 2015-05-20 13:51:59 +02:00
Jan Steemann 343c9b4bea added static helper methods for cluster state 2015-05-20 13:51:02 +02:00
Jan Steemann b9326a251e fix path 2015-05-20 09:41:26 +02:00
Michael Hackstein a734c94af6 Added forgotten files to CMake 2015-05-19 17:17:17 -07:00
Michael Hackstein 86c7f87dd3 Merge branch 'cppTrav2' into devel 2015-05-19 16:17:27 -07:00
Jan Steemann e2b2fab797 added startup options `--server.foxx-queues-poll-interval`, `--server.foxx-queues-system-only` 2015-05-20 00:29:49 +02:00
Michael Hackstein 8494ddb85d The shortest_path now allows to use vertexExample and edgeExamples. Also it allows t add additional vertex and edge collections in the options. If you want to use vertexExample and your edge collection is pointing to other vertex collections then the on in the first parameter you have to give the additional collection in the options 2015-05-19 14:26:14 -07:00
Jan Steemann db9e9d7c47 better dfdb diagnostics 2015-05-19 23:12:36 +02:00
Jan Steemann ba48e56a71 preparation work for multi-database foxx queues 2015-05-19 18:50:29 +02:00
Jan Steemann db926a4057 store sessions in database-specific container 2015-05-19 15:41:15 +02:00
Jan Steemann 3acbbbc880 call reserve() before storing documents 2015-05-19 14:28:25 +02:00
Michael Hackstein 2cb4cb27d5 The ExampleMatcher can now use v8 object and TRI_Json_t* alike. 2015-05-18 16:12:33 -07:00
Jan Steemann f557a0066d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-18 23:40:43 +02:00
Jan Steemann c88b731acf save some mallocs for strings in AQL 2015-05-18 23:40:28 +02:00
Max Neunhoeffer 7d8ccc0f51 Silence the compiler. 2015-05-18 21:34:47 +00:00
Jan Steemann 94e66d057d please the VisualStudio compiler 2015-05-18 11:08:07 +02:00
Max Neunhoeffer 9e588a6ab5 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-05-18 01:40:18 -07:00
Max Neunhoeffer a3923c9eaf Fix configurability of indexBuckets. 2015-05-18 01:39:54 -07:00
Jan Steemann 8670f2a36d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-18 10:33:53 +02:00
Jan Steemann 30a9f44e64 please the VisualStudio compiler 2015-05-18 10:33:37 +02:00
Jan Steemann f8977f3f4f split _accessor into buckets, too 2015-05-18 10:31:46 +02:00
Max Neunhoeffer 13204298d9 Make number of buckets in edge index configurable. 2015-05-17 19:04:47 -07:00
Max Neunhoeffer eef79e68eb Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-05-15 17:19:46 -07:00
Max Neunhoeffer ca17b07dca C++-ify associative-multi and add hashCache, adapt edge index. 2015-05-15 16:37:56 -07:00
Michael Hackstein d832a7579a The new shortest path is now able to take exactly one edge example. Has to be improved to use a list of examples 2015-05-15 15:08:17 -07:00
Jan Steemann 77291a1e71 split single shaper lock into multiple 2015-05-15 19:05:06 +02:00
Michael Hackstein 5360172a7b The ExampleMatcher is now able to use a v8 json object as example for matching in the constructor 2015-05-15 09:56:16 -07:00
Jan Steemann b6142f475c micro optimizations 2015-05-15 17:40:41 +02:00
Michael Hackstein 7ba7482d58 Implemented an ExampleMatcher class to be used for path filtering. Is now used in byExample queries as well. API not fixed yet. 2015-05-14 13:29:42 -07:00
Jan Steemann f8a4df2ad4 Merge branch 'edge-index-resize' of https://github.com/arangodb/arangodb into devel
Conflicts:
	lib/Basics/associative-multi.cpp
2015-05-13 12:52:38 +02:00
Willi Goesgens 421d9fbb9e Add performance logging for index building. 2015-05-13 10:49:38 +02:00
Jan Steemann ceecbf372f slight API change 2015-05-13 09:06:35 +02:00
Max Neunhoeffer ab0391dd03 Give TRI_doc_mptr_copy_t a move constructor and move assignment operator.
This is in the hope of allowing the compiler to speed up some things.
2015-05-12 18:59:52 -07:00
Michael Hackstein 3b3a28e16a The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation) 2015-05-12 15:39:04 -07:00
Michael Hackstein c785388366 Shortest path is now able to either return data or ids. Also if collections not known beforehand are found on the path 2015-05-12 12:07:11 -07:00
Jan Steemann 8480c8b000 speed up resizing of edge index 2015-05-12 21:03:30 +02:00
Jan Steemann 541257c537 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-12 14:53:15 +02:00
Jan Steemann f6bc0a05e3 added `limit` parameter for export API 2015-05-12 14:16:27 +02:00
Jan Steemann 9c73028541 less copying 2015-05-12 13:36:08 +02:00
Jan Steemann 95dbff7f20 added reserve() method 2015-05-12 13:26:23 +02:00
Jan Steemann 5cd7b64ce8 fixed potential race during arangob runs 2015-05-11 22:57:30 +02:00
Willi Goesgens eea77e23a2 Free collection in case of creating the return object fails. 2015-05-11 15:28:03 +02:00
Jan Steemann 8c3e72d33c added waitForSync option 2015-05-11 13:09:37 +02:00
Michael Hackstein efaccccb4e The Shortest path is now able to handle graphs with several vertex collections, but only one edge collection. 2015-05-10 20:38:25 -07:00
Jan Steemann cb38a5459e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-08 17:45:16 +02:00
Jan Steemann 5ad7dea0c8 use auto for HTTP response headers iteration 2015-05-08 17:44:33 +02:00