1
0
Fork 0
Commit Graph

85 Commits

Author SHA1 Message Date
Jan Steemann 848cc1ae28 added CollectionDatasourceFactory 2013-01-14 14:08:28 +01:00
Jan Steemann 6acc85389c fixed "any" traversal 2013-01-13 23:56:28 +01:00
Jan Steemann 87034eaa02 fixed traverse 2013-01-13 23:43:41 +01:00
Jan Steemann ad14130aa0 some tests for traversal 2013-01-13 23:40:27 +01:00
Jan Steemann 0ce59432e0 edge & vertex uniqueness for TRAVERSE 2013-01-13 22:56:14 +01:00
Jan Steemann a2373b7036 added any expander 2013-01-13 14:53:26 +01:00
Jan Steemann f1a741ea7f documentation for TRAVERSE 2013-01-13 14:47:51 +01:00
Jan Steemann 9c995b3d59 added more parameters for TRAVERSE function 2013-01-13 14:17:51 +01:00
Jan Steemann 8bf8a733a2 added traversal function 2013-01-13 13:48:23 +01:00
Jan Steemann 43dee1dcf4 fulltext queries from AQL, documentation 2013-01-11 22:25:08 +01:00
Jan Steemann 7be548ab5d issue #271: optimise LENGTH(p.edges) operator const-value 2013-01-10 01:08:12 +01:00
Frank Celler 128cb67c8b Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	Documentation/Examples/shell-read-document-bad-handle
	Makefile.in
	arangod/Documentation/shell-document.dox
	configure
	js/actions/system/api-collection.js
	js/actions/system/api-index.js
	js/actions/system/api-system.js
	js/common/bootstrap/modules.js
	js/common/bootstrap/print.js
	js/server/ArangoCollection.js
	lib/V8/v8-utils.cpp
2013-01-09 15:30:21 +01:00
Frank Celler f5b1476d78 fixed jslint warnings 2013-01-06 11:05:28 +01:00
Jan Steemann b48d039e3f issue #327 2012-12-27 18:26:04 +01:00
Jan Steemann e28d9b9a93 issue #327: fixed javascript parse errors 2012-12-27 18:05:02 +01:00
Jan Steemann dd906abbd3 issue #324 2012-12-18 19:04:45 +01:00
Jan Steemann dc3c479e71 potential fix for issue #315 2012-12-17 13:09:15 +01:00
Jan Steemann d07dfd9ee1 potential fix for #315 2012-12-17 13:06:18 +01:00
Jan Steemann 58686a8c2e issue #323 2012-12-17 10:18:46 +01:00
Jan Steemann 81d6146d02 issue #323 2012-12-17 10:16:26 +01:00
Jan Steemann f9f893d4b7 extended AQL DOCUMENT() function to take a list of ids 2012-12-05 14:14:44 +01:00
Jan Steemann a9df4d22cb extended AQL document() function to take id lists 2012-12-05 14:10:06 +01:00
Jan Steemann fd61b74174 added AQL function DOCUMENT() to retrieve a document by its _id value 2012-12-05 11:48:56 +01:00
Jan Steemann e4e95fabfe added AQL function DOCUMENT() 2012-12-05 11:47:03 +01:00
Jan Steemann 962ef32c15 code style 2012-12-03 23:55:59 +01:00
Jan Steemann ecddca6969 issue #296 2012-11-26 10:22:17 +01:00
Jan Steemann 33ab7b96e1 issue #296 2012-11-26 10:21:37 +01:00
Jan Steemann 13e5cf5b15 issue #296 2012-11-26 10:17:59 +01:00
Jan Steemann eac11fb793 issue #293 2012-11-24 03:16:23 +01:00
Jan Steemann bc9cf9428a issue #287 2012-11-20 18:27:48 +01:00
Jan Steemann 0f8767a996 issue #287 2012-11-20 18:22:31 +01:00
Jan Steemann 66cf084232 fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:01:47 +01:00
Jan Steemann 37750da396 * fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:00:09 +01:00
Jan Steemann 3718f3570d ALL() moved to transaction semantics 2012-11-19 13:07:38 +01:00
Jan Steemann fe693e6ae3 make documents read use transaction semantics 2012-11-19 11:23:44 +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
Jan Steemann 973ac4fa62 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 12:01:46 +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 6d96d040fa added AQL function TO_LIST 2012-10-10 11:02:56 +02:00
Jan Steemann e326255301 issue #219: continue in case of "document not found" error 2012-10-08 18:12:50 +02:00
a-brandt d077c97f2c ICU updates 2012-09-18 15:42:46 +02:00
a-brandt 1a9961cb4c Added COMPARE_STRING function 2012-09-18 13:13:26 +02:00
Oreste Panaia f93eef34d7 git
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

Conflicts:
	lib/ShapedJson/json-shaper.c
2012-09-10 20:53:41 +08:00
Jan Steemann c0268ce475 try to avoid duplicate read-locking from AQL queries 2012-09-10 14:44:29 +02:00
Oreste Panaia 8847d87580 added limited AQL support for bit indexes 2012-09-10 20:42:14 +08:00
Jan Steemann b8e7d5634d issue #153: edge collection should be a flag for a collection 2012-08-28 10:48:24 +02:00
Jan Steemann 164b63f7a6 handling special case for empty strings in contains() 2012-05-31 16:25:27 +02:00
Heiko Kernbach 030ba0f2e2 ahuacatl-contains 2012-05-31 14:15:46 +02:00
Jan Steemann 2b841bacf7 contains() 2012-05-31 13:15:00 +02:00