Jan Steemann
|
e5761736d4
|
fixed usage of sparse indexes
|
2015-10-19 10:56:30 +02:00 |
Jan Steemann
|
0ffb11c25e
|
do not use sparse indexes for sorting
|
2015-10-14 12:03:52 +02:00 |
Jan Steemann
|
779c242846
|
modified usage of filters with potentially undefined variables
|
2015-10-14 11:02:42 +02:00 |
jsteemann
|
29b3741156
|
reworked cost calculations
|
2015-10-12 22:23:03 +02:00 |
Jan Steemann
|
6b2837190e
|
different cost calculation, done except for skiplists
|
2015-10-12 18:49:47 +02:00 |
Michael Hackstein
|
a8ee15fca4
|
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into
aql-jmmh-conditions and fixed a compiler bug for mac outstream
|
2015-10-12 14:37:03 +02:00 |
Michael Hackstein
|
1c81f89a18
|
The new IndexNode can now serve with a SkiplistIndex when only a sort and no filter is given
|
2015-10-12 14:16:25 +02:00 |
Jan Steemann
|
f0edd198bc
|
added specializeOne() and specializeAll()
|
2015-10-12 13:02:52 +02:00 |
Jan Steemann
|
b5c9602407
|
specialization of conditions
|
2015-10-09 18:10:33 +02:00 |
Jan Steemann
|
8ee068ba40
|
refactoring
|
2015-10-06 13:31:56 +02:00 |
Jan Steemann
|
a12eda295b
|
aha!
|
2015-10-06 13:03:46 +02:00 |
Michael Hackstein
|
37a4ecfbb3
|
Modified the IndexIterator API to return TRI_doc_mptr_t instead of *_copy_t. Index Range node now manages a list of already returned documents, making the resulting documents distinct
|
2015-10-06 10:45:42 +02:00 |
Jan Steemann
|
118f924598
|
support [*] operator
|
2015-10-05 19:15:22 +02:00 |
Michael Hackstein
|
e55b5d59d5
|
Implemented IndexIterator for PrimaryIndex. The IndexBlock uses this Iterator. Still a double free as soon as the query is finished
|
2015-10-01 14:34:24 +02:00 |
Jan Steemann
|
cddabd1e20
|
fixed compile errors
|
2015-09-30 09:30:46 +02:00 |
Michael Hackstein
|
468e632abb
|
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
|
2015-09-30 08:38:26 +02:00 |
Jan Steemann
|
67de5480e8
|
check filter condition and sort condition support for all index types
|
2015-09-29 17:38:55 +02:00 |
Jan Steemann
|
27bcd7ee84
|
better estimates
|
2015-09-29 15:30:44 +02:00 |
Jan Steemann
|
7df6726c3f
|
calculate costs for equality lookups
|
2015-09-29 13:08:51 +02:00 |
Michael Hackstein
|
c0a88a1371
|
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
|
2015-09-29 10:04:15 +02:00 |
Michael Hackstein
|
1e9c6f110b
|
Started implementing the IndexBlock. Right now it expects an iterator for each used index that is created by an evaluated expression from the Block. Then it will go through all iterators in every get/skip some step
|
2015-09-28 19:30:10 +02:00 |
Jan Steemann
|
84f59d112e
|
unified index use checks
|
2015-09-28 18:13:04 +02:00 |
Jan Steemann
|
3495816fa1
|
changed index signatures
|
2015-09-28 14:11:23 +02:00 |
Michael Hackstein
|
6a11ad28ee
|
Adapted all indices to the new planned interface so they tell us if they can serve for a condition and present their costs
|
2015-09-25 10:40:04 +02:00 |
Michael Hackstein
|
aefc0edae0
|
Added a modifyable AST node to the index can serve and block functionality of all indicies. However non of them uses it yet
|
2015-09-23 14:38:23 +02:00 |
Michael Hackstein
|
73077a17fc
|
Implemented the foundation to identify indicies based on DNF Conditions. Primary is implemented as an example. Right now it is only printed that it can be used. TODO: actually use it. Other indicies
|
2015-09-22 15:39:07 +02:00 |
Michael Hackstein
|
26fdd92685
|
Updated the Primary index to new version of AssocUnique.
|
2015-09-03 10:16:15 +02:00 |
Jan Steemann
|
2a886e6648
|
some index code cleanup
|
2015-08-26 21:35:46 +02:00 |
Jan Steemann
|
a3550e331e
|
fixed makefiles
|
2015-08-26 16:17:45 +02:00 |
Michael Hackstein
|
4a3b8007bd
|
Fixed memory calculation of HashIndexMulti. And added index information for it
|
2015-08-26 14:38:23 +02:00 |
Michael Hackstein
|
4effa2291e
|
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
|
2015-08-26 10:41:27 +02:00 |
Jan Steemann
|
f4c542795c
|
getIndexes(true)
|
2015-08-26 09:48:48 +02:00 |
Michael Hackstein
|
85b58a6d8d
|
Fixed sparse indexes
|
2015-08-21 14:07:32 +02:00 |
Michael Hackstein
|
4bb8508d82
|
Implemented a new improved version of the Array index insertion function.
|
2015-08-20 14:03:17 +02:00 |
Michael Hackstein
|
5c0ec7d318
|
Indexed my first array and was able to get it out again \o/. Unique constraint is not yet working though
|
2015-08-19 09:55:46 +02:00 |
Michael Hackstein
|
481a106a7d
|
Implemented a helper function to extract all values in an array to be inserted
|
2015-08-18 11:37:09 +02:00 |
Michael Hackstein
|
2bcef2e03b
|
Added a function that recursivly allocates and fills index_elements if one or more paths have to be expanded.
|
2015-08-18 09:09:36 +02:00 |
Michael Hackstein
|
33935db4b6
|
Attribtue missing will not be returned when inserting elements into the index any more.
|
2015-08-17 12:43:14 +02:00 |
Michael Hackstein
|
1d774ade12
|
Removed hash_index_element and used the unified index_element instead. Also moved allocation of a new index entry closer to the spot where it is actually filled. This allows for lazy allocation.
|
2015-08-17 12:43:14 +02:00 |
Michael Hackstein
|
5a5d1de7ea
|
Moved the insertion of elements into an indox to the super class. Is only used for Skiplist and Hash. Might probably be used by other indicies later
|
2015-08-17 12:43:13 +02:00 |
Michael Hackstein
|
8e3e2d547d
|
Do not push <Class const> into vector. It does not work everywhere
|
2015-08-17 12:43:11 +02:00 |
Michael Hackstein
|
17a8f73a06
|
Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string.
|
2015-08-17 12:43:07 +02:00 |
Michael Hackstein
|
8fbb2739b0
|
The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted.
|
2015-08-17 12:43:05 +02:00 |
Jan Steemann
|
38227a81f8
|
speed up initial edge index creation
|
2015-08-03 18:27:50 +02:00 |
Jan Steemann
|
6d5b86867d
|
added print methods
|
2015-05-29 11:45:01 +02:00 |
Jan Steemann
|
88198767dd
|
logging
|
2015-05-29 09:49:22 +02:00 |
Jan Steemann
|
4b67c7a735
|
several fixes for indexes
|
2015-05-26 13:35:11 +02:00 |
Jan Steemann
|
a5b6f00b7f
|
moved indexes to cxx
|
2015-05-22 20:15:14 +02:00 |