1
0
Fork 0
Commit Graph

3368 Commits

Author SHA1 Message Date
a-brandt f42ceed457 changed MacOS X postinstall 2012-11-20 15:33:42 +01:00
Jan Steemann d016a6ae48 Merge branch '1.1' of https://github.com/triAGENS/ArangoDB into 1.1 2012-11-20 14:50:37 +01:00
a-brandt 283f0cd2d0 added missing arango-upgrade 2012-11-20 11:52:25 +01:00
Jan Steemann 17dbb73208 updated CHANGELOG 2012-11-20 09:37:27 +01:00
Jan Steemann 50f6868b6a fixed unknown log level 2012-11-20 09:33:09 +01:00
Jan Steemann 2efa2f32db added server version check 2012-11-20 09:27:28 +01:00
Jan Steemann 3780aafde9 issue #284 2012-11-19 15:14:29 +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 89cf2554de updated CHANGELOG 2012-11-19 13:33:02 +01:00
Jan Steemann 9c167a734f issue #281 2012-11-19 13:32:23 +01:00
Jan Steemann c8b18a338a fixed AQL optimiser bug, related to OR-combined conditions on the same attribute 2012-11-16 12:15:33 +01:00
Jan Steemann eb8278191c fixed CHANGELOG entry 2012-11-15 22:21:15 +01:00
Jan Steemann 79f407e1d3 issue #277 2012-11-15 22:09:23 +01:00
Frank Celler ce78ceff85 added ruby path 2012-11-13 16:53:35 +01:00
Frank Celler c33e39051a added generated files 2012-11-13 16:32:38 +01:00
Frank Celler 0e2e258f40 Merge branch '1.1' of github.com:triAGENS/ArangoDB into 1.1 2012-11-13 16:23:31 +01:00
Frank Celler 28bdd337d0 add maintainer and automagic files
added configure to AUTOMAGIC files
2012-11-13 16:23:01 +01:00
Frank Celler 20bb2b3748 add maintainer and automagic files 2012-11-13 16:17:28 +01:00
Frank Celler 9efc29a69d regenerated files 2012-11-13 16:11:24 +01:00
Frank Celler 85e3e2e888 create modules directory 2012-11-13 16:09:25 +01:00
Frank Celler cf75fd05f1 fixed arangoirb compile error 2012-11-13 15:56:57 +01:00
Jan Steemann 66fd0b36be some small fixes 2012-11-08 10:13:28 +01:00
Jan Steemann fd6eef1adc fixed cases with incorrectly optimised queries, leading to wrong results
The issue was caused when the optimiser decided to use an index on an attribute, but the attribute access was contained in a logical OR as follows:

FILTER (c.<indexed-column> == <value> || c.<some-other-column> == c.<indexed-column>)

In this case, the index on <indexed-column> was accessed with the constant <value>, but the right-hand side of the OR was ignored, leading to possibly incomplete results
2012-11-07 18:52:25 +01:00
Jan Steemann 49aa7fce03 Merge branch '1.1' of https://github.com/triAGENS/ArangoDB into 1.1 2012-11-07 16:54:22 +01:00
Jan Steemann a9602eccbf issue #272: fixed typo 2012-11-07 16:54:07 +01:00
a-brandt 3378c7edab added "blueprints" api to "Under Construction" section 2012-10-30 14:27:02 +01:00
a-brandt b800f2652c renamed "blueprint" to "blueprints" and added documentation and tests 2012-10-30 13:35:36 +01:00
Jan Steemann 7d9e0a18b5 issue #271: allow very simple optimisations for AQL function usage
This change will create field access hints also for AQL function calls.
Calls to functions will not be optimised, but meaningless usages of functions will not be optimised away.
For example:

FOR p IN PATHS(users, relations, "outbound")
  FILTER LENGTH(p.edges) > 0 && LENGTH(p.edges) < 0
  RETURN p

The FILTER in the above query uses the LENGTH() function two times in a way that no result will be produced.
Before, function calls were excluded from expression collapsing and simplification.
Now, multiple calls to the same function with the same call argument might be optimised away if the calls will
lead to no results being produced. This will only work for functions that are called with exactly one argument
which also must be an attribute name, and when the function calls are used in relational operations.
2012-10-26 13:22:48 +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 b587adeb1d updated CHANGELOG 2012-10-25 11:05:08 +02:00
Jan Steemann 67c0ac2e2c issue #262 2012-10-25 10:57:51 +02:00
Jan Steemann 1e50b4fcf9 issue #265 2012-10-24 12:54:10 +02:00
Jan Steemann 8d5e861245 updated documentation 2012-10-24 12:31:54 +02:00
Jan Steemann 785d602fa0 remove invalid file 2012-10-24 11:55:15 +02:00
Jan Steemann 5a465a1763 more verbose action debugging 2012-10-24 11:54:40 +02:00
Jan Steemann 85a81a2e04 another bugfix 2012-10-24 10:11:06 +02:00
Jan Steemann 7f88a67a77 removing unnneeded patch 2012-10-24 09:40:07 +02:00
Jan Steemann 6e2e340c41 documentation update 2012-10-24 09:38:46 +02:00
Jan Steemann 39afb5e1a0 initialise variable 2012-10-23 18:51:22 +02:00
Jan Steemann 8097f11c2f temporary patch 2012-10-23 17:24:17 +02:00
Jan Steemann a422f005b6 updated documentation and error messages 2012-10-23 17:03:21 +02:00
Jan Steemann 9b7315e188 fixed arango-upgrade 2012-10-23 15:56:20 +02:00
Jan Steemann ac0e6bab4c only execute specific tests in travis 2012-10-23 14:28:58 +02:00
Jan Steemann 352df333ad updated docs 2012-10-23 10:24:42 +02:00
Jan Steemann 0db15cba30 made documentation more clear 2012-10-23 10:15:26 +02:00
Jan Steemann 2b0e1fd538 issue #256 2012-10-22 17:27:25 +02:00
Jan Steemann 6796b9516b issue #262: more verbose error messages when loading broken modules 2012-10-22 16:20:07 +02:00
Jan Steemann 21527dbb33 issue #252: add _modules collection by default 2012-10-22 13:59:37 +02:00
Frank Celler 62942eb028 adding generating files 2012-10-22 11:54:42 +02:00
Frank Celler 884917e0a0 fixed paths of repo
Conflicts:
	CHANGELOG
2012-10-22 11:33:27 +02:00