1
0
Fork 0
Commit Graph

750 Commits

Author SHA1 Message Date
Jan Steemann dacd2fb70c some cleanup 2012-11-06 19:24:27 +01:00
Jan Steemann 59791248bf some refactoring of v8-vocbase, trx integration 2012-11-06 19:02:09 +01:00
Jan Steemann 203560d30b moved transactions into javascript object 2012-11-06 14:42:52 +01:00
a-brandt fff25d5ac3 renamed "blueprint" to "blueprints" and added documentation and tests 2012-10-30 12:29:51 +01:00
Jan Steemann 792f57b760 issue #271: simple paths() function optimisations
When an "outbound" query is made with the paths() function, the optimiser will now use an index if a FILTER condition can exploit an index on .source.
Example query:

FOR p IN PATHS(users, relations, "outbound")
  FILTER p.source._id == "some-id"
  RETURN p

The index on p._id was not exploited before, because the optimiser did not know that variable "p" related to collection "users" and that the condition actually would filter on users._id (the variable name in the FILTER statement is "p.source._id).
Now, AQL functions can define callbacks which are called by the optimiser to try some function-specific optimisations.
The optimise callback for PATHS() tries to exploit indexes for filters that filter on the vertex collection (1st parameter to PATHS() call). Indexes can be exploited if the query is an "outbound" query and there are filters on "source", or if the query is an "inbound" query and there are filters on "destination". "anybound" queries will not be optimised
2012-10-26 13:32:01 +02:00
a-brandt 7daa018969 removed "reuseID" 2012-10-26 12:36:13 +02:00
Jan Steemann 296ad4f5e7 reduce index bloat for edges 2012-10-25 22:02:31 +02:00
Jan Steemann f0977e261f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-25 17:19:25 +02:00
Jan Steemann cb6c8c8e7e added bidirectional edges, fixup edges index 2012-10-25 17:18:54 +02:00
a-brandt b1e24ca6bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-25 11:52:32 +02:00
a-brandt 26b7f4a996 added datafile upgrade 2012-10-25 11:51:45 +02:00
Jan Steemann bbd3dc8e23 issue #262 2012-10-25 10:57:26 +02:00
a-brandt 71f1b7c5bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 12:36:39 +02:00
a-brandt e66daf3f43 bugfix unit tests 2012-10-24 12:36:11 +02:00
Jan Steemann e28a6625ef more verbose action debugging 2012-10-24 11:54:14 +02:00
a-brandt ba5a98e613 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 10:47:21 +02:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
Jan Steemann b95831c906 another bugfix 2012-10-24 10:10:41 +02:00
Jan Steemann 95c9c85608 documentation update 2012-10-24 09:39:39 +02:00
Jan Steemann c3f84cb2a6 initialise variable 2012-10-23 18:50:34 +02:00
Jan Steemann d4a116525b some documentation and error message updates 2012-10-23 17:02:31 +02:00
a-brandt 9a599e468a added "_key" attribute 2012-10-23 15:58:09 +02:00
Jan Steemann 6d2861ec5e fixed arango-upgrade 2012-10-23 15:54:52 +02:00
Jan Steemann f64bfd9240 also add other system collection 2012-10-22 16:46:28 +02:00
Jan Steemann d4cb1b5399 issue #262: more verbose error messages when loading broken modules 2012-10-22 16:21:04 +02:00
Jan Steemann 9b93fec78d issue #252: add _modules collection by default 2012-10-22 14:00:29 +02:00
Jan Steemann d117f2916a issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
Frank Celler d27ba1cf30 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel 2012-10-20 22:56:54 +02:00
Frank Celler 0499d8b4e2 ixed wrong attribute
Conflicts:
	js/common/bootstrap/js-modules.h
2012-10-20 22:46:59 +02:00
Frank Celler 3b5a0967bc Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
	Documentation/Makefile.files
	Installation/build.sh
	arangod/Documentation/communication.dox
	arangod/HashIndex/hasharray.c
	arangod/HashIndex/hashindex.c
	lib/Rest/Endpoint.cpp
	lib/Rest/Endpoint.h
	lib/Rest/EndpointIp.h
	lib/Rest/EndpointIpV4.h
	lib/Rest/EndpointIpV6.h
	lib/Rest/EndpointUnixDomain.cpp
2012-10-20 22:37:25 +02:00
Frank Celler 61856501ea changed .module to .content for modules in collection _modules
Conflicts:
	js/common/bootstrap/js-modules.h
2012-10-20 22:17:54 +02:00
Frank Celler 7f33ac5519 added autoload for modules
Conflicts:
	CHANGELOG
	js/server/js-server.h
2012-10-20 22:07:50 +02:00
Frank Celler c1b0c37480 added module org/arangodb, added convinient functions 2012-10-18 15:39:00 +02:00
Jan Steemann 0c4da6a1d7 added test cases for edge insert/update rollback 2012-10-17 17:37:29 +02:00
Jan Steemann 5c4d981e7a added tests, fixed documentation 2012-10-17 16:50:35 +02:00
Jan Steemann 057cadc5c0 added some tests, fixed docs 2012-10-17 16:49:48 +02:00
Jan Steemann be54759314 issue #245 2012-10-17 14:24:31 +02:00
Jan Steemann c2be68fc7f issue #245 2012-10-17 14:21:46 +02:00
Jan Steemann ab2849f18b removed generated files 2012-10-17 13:15:15 +02:00
Jan Steemann df8078f05f removed file (seems not needed anymore) 2012-10-17 13:14:31 +02:00
Jan Steemann 875bfd7f79 issue #247 2012-10-17 13:12:12 +02:00
Jan Steemann fc0e64f812 issue #247 2012-10-17 13:07:44 +02:00
Jan Steemann 82d6440ede added clear method 2012-10-17 10:15:51 +02:00
Jan Steemann d379c2eaba issue #246: added clear() function 2012-10-17 09:57:23 +02:00
Jan Steemann 930b0a172a issue #240: added documentation about collection type 2012-10-14 21:51:22 +02:00
Jan Steemann 9312c9e8f9 issue #240: add documentation about collection type 2012-10-14 21:36:26 +02:00
Frank Celler 195d6903c1 added generated files 2012-10-14 16:23:48 +02:00
Frank Celler c0c869d1ff Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangosh/ArangoShell/ArangoClient.cpp
	js/client/js-client.h
2012-10-13 16:28:09 +02:00
Jan Steemann 6146aa3981 issue #219: re-introduced different behavior of db and edge objects 2012-10-13 00:44:24 +02:00
Frank Celler 59ef60d6b2 fixed doc errors 2012-10-12 19:21:52 +02:00