Michael Hackstein
1087065ea5
Merge branch 'devel' of github.com:arangodb/arangodb into engine-api
2017-04-13 17:34:25 +02:00
Michael Hackstein
034b38f0cc
Replaced the velocypack ConstantDistance ShortestPath API by a StringRef & TraverserCache version. This should be save for RocksDB. This commit fails in ClusterMode.
2017-04-12 14:21:53 +02:00
jsteemann
0229ab9326
issue #2415
2017-04-09 23:19:10 +02:00
jsteemann
ef3322b81f
make SORT RAND() removal a feature of the old engine
2017-04-04 08:55:08 +02:00
jsteemann
81dcfbbe3d
pass trx into numberDocuments
2017-03-31 11:33:16 +02:00
jsteemann
467307fd07
fixed issue #2400
2017-03-28 13:58:49 +02:00
jsteemann
57dd92902c
move engine-specific optimizer rules into engine
2017-03-07 13:10:58 +01:00
jsteemann
f5c8932744
initial version of query execution plan cache, still very rough
2017-02-21 11:58:38 +01:00
jsteemann
d49c5c3fc0
simplified internal APIs a bit
2017-02-15 12:42:07 +01:00
jsteemann
bc080ae58f
removed unused node type
2017-02-14 16:52:30 +01:00
jsteemann
7e690a0c61
renaming
2017-02-13 15:18:40 +01:00
jsteemann
eb73dbf960
renaming
2017-02-13 13:30:57 +01:00
jsteemann
f09ec85127
renaming
2017-02-13 12:27:26 +01:00
jsteemann
b76eeee92e
reuse more AqlItemBlocks
2017-02-08 00:59:06 +01:00
jsteemann
ba44acdcff
simplify optimizer API a bit
2017-02-06 15:43:49 +01:00
jsteemann
512672b3a4
make geo index work with nested attributes
2017-02-03 13:07:20 +01:00
jsteemann
819eeb18f9
don't tell GatherNode to sort data from an unsorted index
2017-02-03 11:47:52 +01:00
jsteemann
c4d2ff3dce
renaming
2017-01-23 15:36:11 +01:00
Michael Hackstein
3eaf53c0c9
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-23 10:01:23 +01:00
Michael Hackstein
36e398f3f4
Fixed a bug with sort optimization in indexes. Also adapted tests.
2017-01-23 09:45:22 +01:00
jsteemann
3ba821d3f2
remove arbitrary and useless enum number values and let the compiler determine them
2017-01-19 16:20:46 +01:00
Max Neunhoeffer
d038ba61e7
Implement attributePath access for SortElementVector and in GatherBlock.
...
Note: This is not yet used anywhere, so the changes should be entirely
neutral. We are going to use this in the optimizer rules
scatterInClusterRule
and
distributeInClusterRule
to make the GatherNode do a merge sort, if an index delivers sorted
streams of documents.
2017-01-18 15:32:59 +01:00
jsteemann
0d14b52b69
fixed issue #2234
2017-01-02 09:19:15 +01:00
jsteemann
8856caf875
micro optimizations for geo index
2016-12-20 15:53:49 +01:00
Jan Christoph Uhde
9ecd4665c7
distinguish between less and less equal in geoindex filter conditions
2016-12-20 12:15:58 +01:00
Jan Christoph Uhde
822200ae2c
now use traverseAndModify to remove the condition in filter expressions
2016-12-19 14:32:11 +01:00
Jan Christoph Uhde
e83ac6e8b9
delete ast node instead of replacing it with true
...
in some cases.
2016-12-19 12:30:47 +01:00
Jan Christoph Uhde
49fba88487
add missing line
2016-12-19 11:33:45 +01:00
Jan Christoph Uhde
3952bf2009
remove debug code
2016-12-19 11:00:52 +01:00
Jan Christoph Uhde
004da0c614
only do not use geoindex in inner loop if we want to sort
2016-12-19 10:52:42 +01:00
Jan Christoph Uhde
32e1c7eac4
manually cloning fixes the issue
2016-12-19 10:02:02 +01:00
Jan Christoph Uhde
75823fe879
another try to fix the plan
2016-12-16 15:19:10 +01:00
Jan Christoph Uhde
2a404cfabe
add dump of ExectionPlan.
...
Index Node seems to be created!
2016-12-14 12:21:21 +01:00
Jan Christoph Uhde
0f8b496c57
add debugging info for geoindex
2016-12-14 10:46:24 +01:00
Jan Christoph Uhde
3d17672feb
better tests
2016-12-13 17:03:01 +01:00
Jan Christoph Uhde
e5fcdb7386
partial rewrite - now we start at endnodes
...
and work upward towards singleton node
2016-12-13 15:53:44 +01:00
Jan Christoph Uhde
7d93fe0bdd
add link to geo-index doc to sourcefile to clarify goals
2016-12-13 13:20:48 +01:00
Jan Christoph Uhde
aac38c8a00
move collection acccesspath check to identify section
...
so we can compare nodes
2016-12-13 11:42:49 +01:00
Jan Christoph Uhde
b8cc674219
prepare to fix filter-sort
2016-12-13 10:59:02 +01:00
Jan Christoph Uhde
1d5e28d969
fix geo-index for cluster case
2016-12-12 15:36:43 +01:00
Jan Christoph Uhde
1acfd65467
work on geo-index in cluster
2016-12-12 13:30:38 +01:00
jsteemann
b6606727ee
fixes
2016-12-08 11:13:10 +01:00
Jan Christoph Uhde
5416755049
avoid use of geo-index-rule in cases where it could yield an invalid result
2016-12-07 15:06:44 +01:00
Jan Christoph Uhde
3e24624c6e
back to performance
2016-12-06 15:56:22 +01:00
Jan Christoph Uhde
a941808ea8
remove debug code for performance testing
2016-12-06 10:29:38 +01:00
Jan Christoph Uhde
71be8c215a
node replacement is now working
2016-12-06 10:00:11 +01:00
Jan Christoph Uhde
d1a3e4482d
condition replace should be almost working
2016-12-05 20:18:31 +01:00
Jan Christoph Uhde
275e36b603
add pointer that needs to be replaced with true
...
in sort or filter condition
2016-12-05 19:49:10 +01:00
Jan Christoph Uhde
6b93b9d2eb
bring functions in correct order
2016-12-05 19:38:01 +01:00
Jan Christoph Uhde
5aabbb0ac0
fix const-ness so the condition can be modiefied
2016-12-05 16:21:21 +01:00