1
0
Fork 0
Commit Graph

16196 Commits

Author SHA1 Message Date
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 e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +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 79f9ceaaf5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-01 17:13:58 +02:00
Thomas Schmidts 20a0db11f3 Changed gitbook theme and updated it to new version 2014-09-01 16:37:47 +02:00
Jan Steemann 005e727bde Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/V8/v8-conv.cpp
2014-09-01 16:15:32 +02:00
Jan Steemann 848ce68dc3 fixed too eager duplicates check for shaper 2014-09-01 15:48:58 +02:00
Jan Steemann 822c5daa32 assert costs are positive 2014-09-01 15:03:23 +02:00
Willi Goesgens dbb4ef6e41 add tests to revalidate IndexRangeNodes superseeding sorts
TODO: two cases aren't found by the 'use-index-range' as we would expect
2014-09-01 13:35:49 +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 a02b962e3e added optimizer test 2014-09-01 12:14:15 +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 0b3e1557d5 fixed creating database w/ users in cluster 2014-09-01 11:05:18 +02:00
Jan Steemann f60952a12e fixed compile warnings and errors in Visual Studio 2014-09-01 10:42:11 +02:00
Jan Steemann 574b3f3d18 added ArangoShell tutorial 2014-08-30 19:46:20 +02:00
Jan Steemann 904863adee Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-30 17:37:19 +02:00
Jan Steemann 2fee43c5cf fixed typos 2014-08-30 17:36:47 +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 7771621fc6 take compatibility settings into account even for async requests 2014-08-30 17:26:45 +02:00
Jan Steemann d1454294c1 removed hard-coded value 2014-08-30 17:26:36 +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 66d556b003 re-added cases for data types 2014-08-30 02:42:35 +02:00
Jan Steemann 799a845967 added V8StringConverter 2014-08-30 02:32:59 +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 8549e97e6c Adjust test to new non-sparse skiplists. 2014-08-30 00:33:15 +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
Thomas Schmidts e95cac4376 Merge pull request #1012 from CoDEmanX/devel
Fix and unify asterisks, tested with GitBook.
2014-08-29 18:56:48 +02:00
CoDEmanX e22fa64bcf Fix and unify asterisks, tested with GitBook.
Italic asterisks should be done by escaping the asterisk and wrapping it with html i-tag. It seems to be the only safe technique (3 asterisks to display 1 italic asterisk in a list works, unless followed by more markup for italic text; 1 escaped asterisk wrapped by i-tag works regardless of the rest of the line).
2014-08-29 18:19:45 +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