Willi Goesgens
ec67a07f9b
Parser: when throwing parse exceptions add the query and a pointer to the actual indicated error to the message.
2014-09-03 16:13:35 +02:00
Willi Goesgens
61d1bfa76b
SortIndex: only indicate we modified a rule if we realy did.
2014-09-03 09:47:08 +02:00
Max Neunhoeffer
6f22f5529a
Fix memory leak, AqlValues must be destroyed explicitly.
2014-09-02 15:19:21 +02:00
Max Neunhoeffer
fb9481c208
Fix another memory leak.
2014-09-02 14:33:08 +02:00
Max Neunhoeffer
b86dfdd2b0
Fix a memory leak in deletion of AqlValues that are no longer needed.
2014-09-02 11:52:43 +02:00
Max Neunhoeffer
7e7b47ab71
Sort out negative cost estimations.
2014-09-02 10:15:02 +02:00
Willi Goesgens
f0952e9109
Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2
2014-09-01 18:49:10 +02:00
Willi Goesgens
021f3371f2
SortIndex: move the unlinking of the sort attributes after unlinking the sort itself
2014-09-01 18:30:49 +02:00
Willi Goesgens
c1d0f8bccc
SortIndex: as long as the Index superseeds the sort critereon its still a full match.
2014-09-01 18:29:09 +02:00
Jan Steemann
822c5daa32
assert costs are positive
2014-09-01 15:03:23 +02:00
Willi Goesgens
3b93d0847d
SortIndex: fix the way we register our results to the framework
2014-09-01 13:33:18 +02:00
Willi Goesgens
cd29afd88f
Fix pattern to index matcher
...
- if the number of match patterns is zero, this is not a match at all.
- if the number of condition is unequal match pattern to a match pattern this isn't a full match.
2014-09-01 13:31:39 +02:00
Jan Steemann
7851e5e54c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-09-01 11:05:41 +02:00
Jan Steemann
f60952a12e
fixed compile warnings and errors in Visual Studio
2014-09-01 10:42:11 +02:00
Jan Steemann
aadd0f9254
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 17:35:08 +02:00
Jan Steemann
c0463a1797
added `type` option for `GET /_api/document?collection=...`
...
Conflicts:
CHANGELOG
2014-08-30 17:26:24 +02:00
Jan Steemann
7d500b7234
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 01:47:58 +02:00
Jan Steemann
6844433558
do not complain about missing dispatcher when server is started with `--no-server` option
2014-08-30 01:34:10 +02:00
Jan Steemann
c90777738d
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
2014-08-30 01:32:20 +02:00
Max Neunhoeffer
730b59cfad
Remove "old" sparse flag for skiplist indexes.
2014-08-30 01:04:26 +02:00
Max Neunhoeffer
7151c853c1
Make skiplist index insertion aware of the sparse flag.
...
Note that so far this flag is always false.
2014-08-30 00:55:08 +02:00
Max Neunhoeffer
ecf379c113
Fix a bug with the level management of the useSortRule.
2014-08-30 00:54:47 +02:00
Max Neunhoeffer
fcfb50b105
Correct skiplist fix for empty attribute values.
2014-08-30 00:38:26 +02:00
Max Neunhoeffer
ad9f182916
Introduce a boolean switch _sparse in TRI_index_t.
...
At this stage it is always set to false for all indexes.
However, TRI_InitIndex already has an additional argument for this.
2014-08-30 00:34:33 +02:00
Max Neunhoeffer
dc0c204424
Store documents in a skiplist index even if some indexed attrs are empty.
2014-08-29 23:54:22 +02:00
Jan Steemann
1367a016cf
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-29 20:38:30 +02:00
James
b6f9f11e5e
added all node types to FilterToEnumCollFinder.
2014-08-29 17:44:32 +02:00
James
b00521b881
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-08-29 17:41:37 +02:00
James
671824985e
added all node types to FilterToEnumCollFinder.
2014-08-29 17:40:56 +02:00
Jan Steemann
9530a12472
AQL_EXECUTE
2014-08-29 17:39:23 +02:00
Jan Steemann
53d0b740db
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-29 17:37:46 +02:00
Jan Steemann
a5b207188f
added optimizer flags for AQL_EXECUTE
2014-08-29 17:37:35 +02:00
James
38520d49eb
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Aql/OptimizerRules.cpp
2014-08-29 17:17:59 +02:00
James
21febb33ac
cleaning up RangeInfo stuff.
2014-08-29 17:16:08 +02:00
Willi Goesgens
40361d63dc
Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2
2014-08-29 17:10:35 +02:00
Willi Goesgens
1f0ce045d3
remove debug output
2014-08-29 17:10:20 +02:00
Jan Steemann
d57ed2749a
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-29 17:09:18 +02:00
Jan Steemann
a3d2d0e3f1
renamed file
2014-08-29 17:09:07 +02:00
Max Neunhoeffer
bf1f11e651
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-08-29 16:57:56 +02:00
Max Neunhoeffer
fa9e55eafb
Finish taking into account multiple FILTER for IndexRangeRule.
2014-08-29 16:57:34 +02:00
Willi Goesgens
24128830ca
Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2
2014-08-29 16:45:55 +02:00
Willi Goesgens
0cb12fc3f5
SortIndex: initialize the rangeInfo the proper way.
2014-08-29 16:45:20 +02:00
Jan Steemann
3b2cf352ad
added functionality to activate/deactivate optimizer rules
2014-08-29 16:31:07 +02:00
Max Neunhoeffer
4ae076db40
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Aql/OptimizerRules.cpp
2014-08-29 15:51:08 +02:00
Max Neunhoeffer
65e765478d
Make IndexRange rule look for multiple variables in FILTERs.
...
Still TODO: Pickup further variables when seeing FILTERs.
2014-08-29 15:49:37 +02:00
Jan Steemann
91590f754f
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Aql/OptimizerRules.cpp
2014-08-29 15:49:35 +02:00
Jan Steemann
b8e12063e2
added "rules" output
2014-08-29 15:27:02 +02:00
James
e1ee728a75
remove debug prints.
2014-08-29 14:41:20 +02:00
Willi Goesgens
67894665f4
revert #cef3864e29cfb5308df55e19a2186af07c21d3b8 which was a wrong conflict resolution.
2014-08-29 14:38:39 +02:00
James
fd4b4e5df4
"proper" estimateCost method for IndexRangeNode.
2014-08-29 14:22:46 +02:00