Jan Steemann
d1edc4ddb2
added replaceByExample() and updateByExample() methods
...
added optional "limit" parameter for removeByExample() method
2013-02-19 11:38:55 +01:00
Jan Steemann
3e04acf3ee
added AQL functions KEEP() and UNSET()
2013-02-14 16:14:22 +01:00
Jan Steemann
3d47748434
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-02-14 15:19:22 +01:00
a-brandt
46c5d66f8e
bugfix #396 : Creating a Graph with an existing graph's name _key doesn't throw an error
2013-02-14 15:12:11 +01:00
Jan Steemann
494586af2b
exit arango-dfdb if there are no collections
2013-02-14 15:11:08 +01:00
Jan Steemann
4acd777b6c
fixed jslint warnings
2013-02-14 11:40:14 +01:00
Jan Steemann
f00bf9c8d2
be more strict with numeric limits
2013-02-13 12:08:59 +01:00
Jan Steemann
ca81913abb
added AQL function EDGES()
2013-02-07 22:53:50 +01:00
Jan Steemann
7273af5c53
fixed arango-dfdb to not segfault that often when reading corrupt datafile
2013-02-06 14:26:18 +01:00
Jan Steemann
f16f88a2e6
added docs for CONTAINS(), added LIKE()
2013-02-06 11:40:45 +01:00
Jan Steemann
e06329db48
fix cross-collection queries in AQL
2013-02-05 10:56:28 +01:00
Jan Steemann
2263e959fe
added tests for cross-collection queries
2013-02-05 09:26:05 +01:00
Jan Steemann
d17628e28b
adjusted test
2013-02-04 22:19:40 +01:00
Jan Steemann
de0b290bcd
moved AQL to use AhuacatlTransaction
2013-02-04 11:25:03 +01:00
Jan Steemann
f9c14611a4
remove tabs
2013-02-01 15:46:27 +01:00
Jan Steemann
eaf4166b3e
more tests, less collection loading
2013-02-01 15:20:01 +01:00
Jan Steemann
3c0b197170
issue #381
2013-01-30 21:35:00 +01:00
Jan Steemann
68d2eab647
issue #381
2013-01-30 21:16:05 +01:00
Jan Steemann
8989bc398c
added more test cases for over/underflow
2013-01-30 20:58:40 +01:00
Jan Steemann
8136f40f79
added more test cases
2013-01-30 10:02:54 +01:00
Jan Steemann
67a9608ce6
added test cases
2013-01-30 09:42:18 +01:00
Jan Steemann
5e719dc242
adjust function names too after rename in traversal.js
2013-01-30 09:39:33 +01:00
Frank Celler
62e00c81bf
fixed traversal to be independent of vertex/edge structure
2013-01-29 17:49:23 +01:00
Frank Celler
307b125035
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/actions/system/api-graph.js
2013-01-29 14:17:13 +01:00
Frank Celler
6bd4bc5525
client side graph
2013-01-29 14:15:35 +01:00
Jan Steemann
9773a88cf9
prevent endless loops for inf double values being appended to string buffer
2013-01-29 12:07:30 +01:00
Jan Steemann
b7cec5dc22
added test case for naming
2013-01-29 11:19:19 +01:00
Jan Steemann
234f2ecaaa
simplify list access in AQL
2013-01-29 09:15:14 +01:00
Jan Steemann
6e81f7f6fa
return collection ids, cursor ids, and index ids as stringified integers, too
2013-01-28 20:11:29 +01:00
Jan Steemann
1de10d6ea4
make collection id be returned as a string so it cannot overflow
2013-01-28 18:30:48 +01:00
Jan Steemann
d4d7123cc8
issue #363 : renamed TREE to TRAVERSAL_TREE
2013-01-28 17:33:17 +01:00
Frank Celler
5620f8aa4d
moved to server
2013-01-28 17:08:17 +01:00
Jan Steemann
b3d5217f57
removed tabs
2013-01-28 13:56:08 +01:00
Jan Steemann
17098dd4ef
added support for HTTP OPTIONS method, pt 1
2013-01-25 19:11:33 +01:00
Jan Steemann
49c267bf0c
fixed errors reported by jslint
2013-01-25 11:10:34 +01:00
Jan Steemann
909e46c671
moved global AQL functions to internal module
2013-01-25 09:34:51 +01:00
Jan Steemann
0be8df6082
added experimental AQL TREE() function.
2013-01-24 18:08:33 +01:00
Jan Steemann
ac91506da4
fixed issues reported by jslint, added AQL ATTRIBUTES()
2013-01-24 17:25:48 +01:00
Jan Steemann
e42887e8de
removed dead code
2013-01-24 15:27:30 +01:00
Jan Steemann
8fc4b97710
shortened internal aql function names
2013-01-24 14:55:12 +01:00
Jan Steemann
81dc83b8df
de-globalised aql
2013-01-24 14:49:55 +01:00
Jan Steemann
4b433a511a
added followEdges property for AQL TRAVERSE() function
2013-01-23 11:28:33 +01:00
Jan Steemann
09f0a91595
make MATCHES() AQL function variadic
2013-01-23 10:25:38 +01:00
Jan Steemann
7c5203cfea
added documentation and test cases for db.collection.removeByExample
2013-01-22 19:20:11 +01:00
Jan Steemann
e0d3eb53e0
added MATCHES
2013-01-22 13:50:30 +01:00
Jan Steemann
58cead20e7
allow FUNC(...)[...] and FUNC(...).attr in AQL
2013-01-22 11:27:21 +01:00
Jan Steemann
33d5abbd91
comments
2013-01-21 13:58:23 +01:00
Frank Celler
f7291b562b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-18 15:32:34 +01:00
Jan Steemann
19a717efb7
fixed error throwing?
2013-01-18 14:35:42 +01:00
Frank Celler
5647595053
fixed jslint warnings
2013-01-18 13:39:11 +01:00
Frank Celler
dab85633dd
fixed WeakDictionary
2013-01-18 13:27:40 +01:00
Jan Steemann
3b4a18fd94
fixed import tests
2013-01-18 11:14:54 +01:00
Frank Celler
61c6433c1c
fixed building of html/admin/js files
2013-01-18 10:27:25 +01:00
Jan Steemann
752b9a4846
fixed tests
2013-01-18 03:45:24 +01:00
Frank Celler
a92d0c6b4a
fixed jslint warnings
2013-01-18 00:13:03 +01:00
Frank Celler
cce07ede8c
started development mode
2013-01-18 00:02:10 +01:00
Frank Celler
670dc221ab
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/client/client.js
js/common/bootstrap/module-internal.js
js/common/modules/org/arangodb/simple-query-common.js
js/server/ahuacatl.js
2013-01-17 23:56:31 +01:00
Frank Celler
edef5feacc
fixed tests
2013-01-17 23:45:19 +01:00
Frank Celler
159f613169
more cleanup
2013-01-17 18:24:58 +01:00
Jan Steemann
4b4f79d080
updated documentation for TRAVERSE
2013-01-17 18:22:58 +01:00
Frank Celler
cfadf6ca06
fixed comments
2013-01-17 16:10:42 +01:00
Frank Celler
3c21a87366
more cleanup
2013-01-17 16:01:15 +01:00
Frank Celler
632b9bc430
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-17 10:30:48 +01:00
Frank Celler
250726ca00
reorganisation of modules
2013-01-17 10:30:35 +01:00
Jan Steemann
c73cf43874
tests
2013-01-16 18:39:08 +01:00
Jan Steemann
d10d35bf4b
colors
2013-01-16 01:40:07 +01:00
Jan Steemann
e0e3fe12b8
added graph traversal for Graph
2013-01-15 19:48:53 +01:00
Jan Steemann
7a6db16241
added db._version()
2013-01-15 16:44:48 +01:00
Frank Celler
af98eb2802
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-14 14:25:49 +01:00
Frank Celler
3a5b66d840
added function action
2013-01-14 14:25:41 +01:00
Jan Steemann
848cc1ae28
added CollectionDatasourceFactory
2013-01-14 14:08:28 +01:00
Jan Steemann
4761e9c28c
added more tests
2013-01-14 00:02:10 +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
Frank Celler
12b611d102
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
2013-01-12 21:08:35 +01:00
Frank Celler
3187fcb4f7
fixed iterate
2013-01-12 21:02:31 +01:00
Jan Steemann
12c687d934
added AQL fulltext queries
2013-01-11 23:08:54 +01:00
Jan Steemann
43dee1dcf4
fulltext queries from AQL, documentation
2013-01-11 22:25:08 +01:00
Jan Steemann
f34b5085ee
more tests
2013-01-11 14:17:42 +01:00
Frank Celler
ee6658c8e4
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-11 10:39:17 +01:00
Jan Steemann
386c884a0d
adjusted traversal, breadth first post order still to do
2013-01-10 18:38:04 +01:00
Frank Celler
33e3031380
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
VERSION
arangod/V8Server/v8-query.cpp
build_posix.h
configure
configure.ac
2013-01-10 18:00:25 +01:00
Jan Steemann
9ca60d422e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-10 10:56:25 +01:00
Frank Celler
8ec82daba0
nicer error messages
2013-01-10 09:19:40 +01:00
Jan Steemann
7be548ab5d
issue #271 : optimise LENGTH(p.edges) operator const-value
2013-01-10 01:08:12 +01:00
Jan Steemann
4bd1aefbc6
broken, but need to go home
2013-01-09 21:06:34 +01:00
Jan Steemann
e61fc070bd
initial traversal prototypes
2013-01-09 19:05:33 +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
812360145e
added flush
2013-01-09 11:47:17 +01:00
Frank Celler
46e0cc70bf
deployment tool
2013-01-08 11:02:57 +01:00
Jan Steemann
992c49d4a1
more cases for issue #324
2013-01-08 00:47:44 +01:00
Jan Steemann
d76920443d
added tests and documentation for volatile collections
2013-01-07 10:55:25 +01:00
Frank Celler
b9c0d7c937
moved errors to arangodb, fixed lslint warning
2013-01-06 12:09:40 +01:00
Frank Celler
f5b1476d78
fixed jslint warnings
2013-01-06 11:05:28 +01:00
Frank Celler
7be1c01bda
removed linked in JavaScript code, separate files for 'fs' and 'console'
2013-01-05 23:24:10 +01:00
Frank Celler
51779b4a3e
fixed more jslint warnings
2013-01-05 17:13:13 +01:00
Frank Celler
28dc56496f
fixed jslint warnings
2013-01-05 16:22:29 +01:00
Frank Celler
9c87607f46
added iterate
2013-01-05 16:21:03 +01:00
Frank Celler
aa0d9d4e3e
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
js/server/server.js
2013-01-05 12:38:09 +01:00
Frank Celler
c91b7c0f14
fixed jslint errors
2013-01-05 11:59:01 +01:00
Frank Celler
24fc2d371e
moved methods to ArangoCollection
2013-01-05 11:46:33 +01:00
Frank Celler
7226c41ca6
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/actions/system/api-collection.js
2013-01-05 11:21:24 +01:00
Frank Celler
0549528325
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
CHANGELOG
Makefile.in
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/v8-vocbase.cpp
html/admin/js/master.js
js/actions/system/api-collection.js
js/common/bootstrap/errors.js
js/server/version-check.js
lib/BasicsC/errors.dat
lib/BasicsC/logging.c
lib/BasicsC/voc-errors.c
lib/BasicsC/voc-errors.h
2013-01-05 11:16:50 +01:00
Frank Celler
ba26708f94
moved to actions.errors
2013-01-05 11:15:40 +01:00
Frank Celler
f9dba124dd
Merge remote-tracking branch 'origin/issue317' into 1.1
...
Conflicts:
js/common/bootstrap/modules.js
2013-01-03 18:57:18 +01:00
Frank Celler
1c1106d825
fixed names
2013-01-03 18:45:44 +01:00
Frank Celler
79360ea164
more exports
2013-01-03 17:15:20 +01:00
Frank Celler
53364b7f15
updated error codes
2013-01-03 16:31:55 +01:00
Frank Celler
503e0ff8fe
fixed merge conflicts
2013-01-02 18:07:57 +01:00
Frank Celler
f188357f83
added padding for 32bit
2013-01-02 17:07:44 +01:00
Frank Celler
dadcef3de3
renamed execute/load to executelocal and executeglobal
2013-01-02 14:52:55 +01:00
Jan Steemann
c77bcfb385
issue #339
2013-01-02 10:37:10 +01:00
Jan Steemann
cc304beca9
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-02 10:28:53 +01:00
Jan Steemann
908fcc8acd
issue #339
2013-01-02 10:28:44 +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
d562c52fd7
backport of issue #300
2012-12-22 03:38:29 +01:00
Jan Steemann
443757df3b
some tests for issue #325
2012-12-20 13:35:49 +01:00
Frank Celler
d5f24ce13c
Merge remote-tracking branch 'origin/windows' into HEAD
...
Conflicts:
CHANGELOG
Documentation/InstallationManual/Installing.md
Documentation/Makefile.files
Documentation/Scripts/generateTOC.py
Documentation/header.html
Installation/OBS/clean-repo.sh
Installation/OBS/create-repo.sh
Installation/OBS/create-ymp.sh
Installation/OBS/index.html
Installation/OBS/load-repo.sh
Makefile.in
VERSION
aclocal.m4
arangod/Ahuacatl/ahuacatl-functions.c
arangod/Documentation/user-manual.dox
arangod/V8Server/v8-actions.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/collection.c
arangod/VocBase/datafile.c
arangosh/V8Client/arangosh.cpp
config/compile
config/config.guess
config/config.sub
config/depcomp
config/install-sh
config/missing
configure
configure.ac
js/server/arango-upgrade.js
js/server/modules/org/arangodb/actions.js
lib/BasicsC/logging.c
lib/Utilities/ScriptLoader.cpp
2012-12-20 11:11:47 +01:00
Oreste Panaia
83ded3fc1f
windows fixes
2012-12-20 17:17:30 +08:00
Jan Steemann
7f93615dc6
issue #326
2012-12-19 17:22:01 +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
fb4afd0353
fulltext index
2012-12-10 12:16:48 +01:00
Jan Steemann
cbaa57a1bd
cleanup of fulltext indexes, resizing etc.
2012-12-07 18:00:01 +01:00
Jan Steemann
c49ce0a52f
fulltext resizing, still incomplete
2012-12-07 13:51:19 +01:00
Jan Steemann
b5b431e815
some more tests
2012-12-07 09:08:58 +01:00
Oreste Panaia
857b66c490
windows version
2012-12-06 20:44:01 +08:00
Jan Steemann
013fea7d01
added missing function referenced by simple query API
2012-12-05 18:44:35 +01:00
Jan Steemann
1ffa8e702c
more tests and documentation for fulltext indexes
2012-12-05 16:12:33 +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
cc54fd3ccc
added some language test cases
2012-12-04 16:02:40 +01:00
Jan Steemann
99034b0aa4
more tests
2012-12-04 15:36:49 +01:00
Jan Steemann
0b41690881
tests for substrings
2012-12-04 15:01:48 +01:00
Jan Steemann
b5c978feb6
applied bugfix from Richard, more test cases
2012-12-04 14:40:50 +01:00
Jan Steemann
46132c9f26
more tests for fulltext
2012-12-04 14:20:55 +01:00
Jan Steemann
dc9f84fc60
added test cases for update and delete
2012-12-04 11:46:49 +01:00
Jan Steemann
5742ab6fba
fixed unicode lowercasing
2012-12-04 11:12:38 +01:00
Jan Steemann
5eb0081bcd
tests for issue #300
2012-12-04 09:58:23 +01:00
Jan Steemann
1992597015
applied bug fix from Richard, activated 2 more tests
2012-12-04 09:00:48 +01:00
Jan Steemann
cb08d4f45f
fulltext tests
2012-12-04 01:51:16 +01:00
Jan Steemann
4d2d8455d4
fulltext query test cases
2012-12-04 01:20:34 +01:00
Jan Steemann
962ef32c15
code style
2012-12-03 23:55:59 +01:00
Jan Steemann
cdbb96788f
issue #313
2012-12-03 15:30:01 +01:00
Jan Steemann
d60888e970
replaced arango-upgrade script with server startup option --upgrade
2012-12-03 13:45:58 +01:00
Jan Steemann
42ba0502f0
changed upgrade procedure
...
removed arango-upgrade script, replaced it with --upgrade server option
adjusted documentation & start scripts
2012-12-03 13:02:59 +01:00
Jan Steemann
59461d0c4b
added functionality to add and remove users programatically
...
removed arango-password script
2012-12-03 11:42:30 +01:00
Jan Steemann
cbad6b526a
make collections accesible via name instead of id.
...
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann
bd3c8189dc
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2012-11-27 13:56:08 +01:00
Jan Steemann
d4daccb3a5
added a fix and tests for issue #293
2012-11-27 13:55:52 +01:00
Frank Celler
249492a89c
Merge remote-tracking branch 'origin/1.1' into devel
...
Conflicts:
CHANGELOG
Documentation/Manual/GlossaryCollectionName.md
Documentation/Manual/NewFeatures11.md
Documentation/UserManual/FirstStepsArangoDB.md
VERSION
arangod/Documentation/api-blueprints.dox
arangod/HashIndex/hasharray.c
arangod/RestHandler/RestVocbaseBaseHandler.cpp
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/v8-actions.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/compactor.c
arangod/VocBase/document-collection.c
configure.ac
html/admin/js/master.js
js/server/ahuacatl.js
js/server/arango-upgrade.js
lib/BasicsC/voc-errors.h
lib/V8/V8LineEditor.cpp
lib/V8/v8-utils.cpp
2012-11-27 12:34:58 +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
a2b404123a
load monkeypatches on all occasions
2012-11-20 16:50:15 +01:00
Jan Steemann
b159a0539b
moved monkeypatches.js to bootstrap folder and load it at all occasions, allowing graph usage from arangosh
2012-11-20 15:36:19 +01:00
Jan Steemann
30799b0857
fixed unknown log level
2012-11-20 09:33:39 +01:00
Jan Steemann
50f6868b6a
fixed unknown log level
2012-11-20 09:33:09 +01:00
Jan Steemann
744618fbe0
fixed some escape routes in version check
2012-11-20 09:31:09 +01:00
Jan Steemann
2efa2f32db
added server version check
2012-11-20 09:27:28 +01:00
Jan Steemann
85a8f56a34
complain about non-expected database directory versions
2012-11-20 01:41:41 +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
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
67c0ac2e2c
issue #262
2012-10-25 10:57:51 +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
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
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
85a81a2e04
another bugfix
2012-10-24 10:11:06 +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
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
c3f84cb2a6
initialise variable
2012-10-23 18:50:34 +02:00
Jan Steemann
a422f005b6
updated documentation and error messages
2012-10-23 17:03:21 +02:00
Jan Steemann
d4a116525b
some documentation and error message updates
2012-10-23 17:02:31 +02:00
Jan Steemann
9b7315e188
fixed arango-upgrade
2012-10-23 15:56:20 +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
9b93fec78d
issue #252 : add _modules collection by default
2012-10-22 14:00:29 +02:00
Jan Steemann
21527dbb33
issue #252 : add _modules collection by default
2012-10-22 13:59:37 +02:00
Jan Steemann
6d1201b2ec
issue #248 : allow AQL optimiser to pull out completely uncorrelated subqueries to the top level, resulting in less repeated evaluation of the subquery
2012-10-22 09:23:58 +02:00
Jan Steemann
d117f2916a
issue #248 : pull out some sort of subqueries
2012-10-22 09:14:38 +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
875bfd7f79
issue #247
2012-10-17 13:12:12 +02:00
Frank Celler
939c5ece15
Merge branch '1.0' of github.com:triAGENS/ArangoDB
...
Conflicts:
CHANGELOG
CONTRIBUTING.md
Doxygen/arango-html.doxy
Doxygen/arango-latex.doxy
Doxygen/arango-xml.doxy
Doxygen/arango.template
Makefile.in
Makefile.local
Makefile.unittests
VERSION
config/config.sub
configure
configure.ac
js/actions/system/api-system.js
js/client/js-client.h
js/common/bootstrap/js-modules.h
js/server/js-ahuacatl.h
packetize.sh
2012-10-11 15:19:44 +02:00
Jan Steemann
6d96d040fa
added AQL function TO_LIST
2012-10-10 11:02:56 +02:00
Jan Steemann
eb11086ae5
added AQL function TO_LIST
2012-10-10 10:51:35 +02:00
Frank Celler
c637ac03b6
Merge branch '1.0' of github.com:triAGENS/ArangoDB into 1.0-issue-165
2012-10-09 16:47:58 +02:00
Jan Steemann
9ceca523af
issue #219 : continue in case of "document not found" error
2012-10-08 18:23:49 +02:00
Jan Steemann
e326255301
issue #219 : continue in case of "document not found" error
2012-10-08 18:12:50 +02:00
Jan Steemann
3b8ad1835e
harmonise API between client and server versions
...
this adds db._createStatement() on the server side, furthermore it provides GeneralArrayCursor.elements()
2012-10-08 18:11:45 +02:00
Jan Steemann
788f91cd59
added ArangoStatement.explain() client method, wrote test cases
2012-10-08 15:49:15 +02:00
Jan Steemann
5da08eb283
allow AQL to use indexes in additional cases
2012-10-08 12:51:27 +02:00
Frank Celler
d1728b8920
fixed undefined vs delete attributes
2012-10-01 13:11:05 +02:00
Frank Celler
049009ba5a
a string as action is mapped to a prefix controller
2012-10-01 12:39:11 +02:00
Oreste Panaia
5d79b618c7
strings converted to char*
2012-10-01 18:36:42 +08:00
Frank Celler
50c2963897
create _routing if not present
2012-10-01 11:49:09 +02:00
Frank Celler
faad04c8b3
switch options and next
2012-10-01 11:46:06 +02:00
Jan Steemann
3b5d4a4fc9
issue #204 : allow import of tab-separated values
...
this enables the user to specify the tab as separator for arangoimp.
the separator and eol values used by arangoimp can now also consist of
more than one character.
updated documentation and added test cases
2012-09-30 01:38:32 +02:00
Frank Celler
db4d31cd94
fixed jslint issures
2012-09-29 16:39:58 +02:00
Frank Celler
aeb83e4435
ssue #165 : front-end application howto
2012-09-29 16:03:32 +02:00
Oreste Panaia
8726b833d4
removed long static standard c++ string from header file
2012-09-28 21:52:28 +08:00
Jan Steemann
3bbed7fe3b
fixed task numbers
2012-09-26 14:08:03 +02:00
Jan Steemann
372abf03bb
der fux mag pilze
2012-09-26 14:05:08 +02:00
Frank Celler
e9b1e1c58f
Merge branch '1.0' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
3rdParty/mruby/include/mrbconf.h
3rdParty/mruby/include/mruby.h
3rdParty/mruby/include/mruby/array.h
3rdParty/mruby/include/mruby/khash.h
3rdParty/mruby/include/mruby/object.h
3rdParty/mruby/include/mruby/variable.h
3rdParty/mruby/mrblib/error.rb
3rdParty/mruby/mrblib/print.rb
3rdParty/mruby/src/array.c
3rdParty/mruby/src/cdump.c
3rdParty/mruby/src/class.c
3rdParty/mruby/src/codegen.c
3rdParty/mruby/src/error.c
3rdParty/mruby/src/gc.c
3rdParty/mruby/src/init.c
3rdParty/mruby/src/kernel.c
3rdParty/mruby/src/math.c
3rdParty/mruby/src/numeric.c
3rdParty/mruby/src/object.c
3rdParty/mruby/src/parse.y
3rdParty/mruby/src/pool.c
3rdParty/mruby/src/proc.c
3rdParty/mruby/src/range.c
3rdParty/mruby/src/sprintf.c
3rdParty/mruby/src/state.c
3rdParty/mruby/src/string.c
3rdParty/mruby/src/struct.c
3rdParty/mruby/src/symbol.c
3rdParty/mruby/src/time.c
3rdParty/mruby/src/variable.c
3rdParty/mruby/src/vm.c
3rdParty/mruby/src/y.tab.c
3rdParty/mruby/test/assert.rb
3rdParty/mruby/test/t/array.rb
3rdParty/mruby/test/t/exception.rb
3rdParty/mruby/test/t/kernel.rb
3rdParty/mruby/test/t/math.rb
3rdParty/mruby/test/t/module.rb
3rdParty/mruby/test/t/string.rb
3rdParty/mruby/test/t/struct.rb
3rdParty/mruby/test/t/time.rb
3rdParty/mruby/tools/mirb/mirb.c
3rdParty/mruby/tools/mruby/mruby.c
Doxygen/arango-html.doxy
Doxygen/arango.template
Makefile.am
Makefile.in
UnitTests/HttpInterface/api-http-spec.rb
aclocal.m4
arangod/RestHandler/RestDocumentHandler.cpp
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/ApplicationV8.h
arangod/V8Server/v8-actions.cpp
arangod/V8Server/v8-query.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/V8Server/v8-vocbase.h
arangod/VocBase/compactor.c
arangod/VocBase/compactor.h
arangod/VocBase/shadow-data.c
arangod/VocBase/simple-collection.c
arangod/VocBase/simple-collection.h
arangod/VocBase/synchroniser.c
arangod/VocBase/vocbase.c
arangoirb/MRClient/arangoirb.cpp
config/compile
config/depcomp
config/install-sh
config/missing
configure
js/actions/demo/geo.js
js/actions/demo/hallo-world.js
js/actions/system/api-collection.js
js/actions/system/api-edges.js
js/actions/system/api-system.js
js/actions/system/documents.js
lib/BasicsC/locks-posix.c
lib/BasicsC/operating-system.h
lib/HttpServer/HttpCommTask.cpp
lib/HttpServer/HttpCommTask.h
lib/MRuby/MRLineEditor.cpp
lib/MRuby/mr-utils.c
m4/Makefile.doxygen
m4/all-in-one.mruby
2012-09-20 16:39:59 +02:00
Frank Celler
a67bb18f72
return 5xx if not implemented
2012-09-19 15:33:43 +02:00
Frank Celler
8f5b31177b
added redirect
2012-09-18 16:33:16 +02:00
a-brandt
d077c97f2c
ICU updates
2012-09-18 15:42:46 +02:00
Frank Celler
2ce0c4336a
added module in database
2012-09-18 15:07:57 +02:00
a-brandt
1a9961cb4c
Added COMPARE_STRING function
2012-09-18 13:13:26 +02:00
Frank Celler
88b72adea4
more actions example, reloadCache added
2012-09-17 18:08:28 +02:00
Frank Celler
4f6762436c
added first go at user actions
2012-09-16 17:25:57 +02:00
Frank Celler
21eb612376
first version of new actions module
2012-09-15 19:16:36 +02:00
Frank Celler
49b19e4657
Merge branch 'devel' of github.com:triAGENS/ArangoDB
...
Conflicts:
lib/BasicsC/terminal-utils-posix.c
lib/BasicsC/terminal-utils.c
lib/SimpleHttpClient/SimpleHttpResult.cpp
2012-09-12 23:49:14 +02:00
Frank Celler
e8089d86a7
removed user manager
2012-09-12 23:37:39 +02:00
Jan Steemann
d002fde025
documentation
2012-09-12 22:02:20 +02:00
Jan Steemann
650261faed
issue #195 : make arango-upgrade write VERSION file, add global Javascript variable DATABASEPATH
2012-09-12 21:53:01 +02:00
Jan Steemann
d670fbca5b
issue #150 , issue #188
2012-09-12 09:32:25 +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
8944637717
issue #183 : strange unittest error
2012-09-03 08:42:38 +02:00
Jan Steemann
b8f694ec0a
issue #178 : added test cases for arangoimp
2012-08-31 13:31:16 +02:00
Frank Celler
2ab77278d9
changes to allow SUBDIR build
2012-08-30 18:06:23 +02:00