1
0
Fork 0
Commit Graph

488 Commits

Author SHA1 Message Date
jsteemann ec7e6d0279 cppcheck 2016-05-05 00:24:44 +02:00
jsteemann c0d11594d5 potentially fixed some shutdown issues 2016-05-04 22:47:08 +02:00
jsteemann 7ad08738af Merge branch 'devel' of https://github.com/arangodb/arangodb into dox-cox-pix-ex-rox-box 2016-05-04 14:54:45 +02:00
jsteemann 9d865c7047 optimizations, bugfixes 2016-05-04 01:50:28 +02:00
jsteemann 495b266c8a initial commit 2016-05-03 15:42:24 +02:00
jsteemann d3604238e4 optimizations 2016-05-02 23:06:04 +02:00
jsteemann d6833b6862 potentially optimized lookups for _from and _to 2016-04-30 14:21:15 +02:00
jsteemann e478c1ae11 faster lookup for _key attribute 2016-04-30 13:25:06 +02:00
jsteemann 3a92773685 use StaticStrings 2016-04-29 15:18:20 +02:00
jsteemann 6ac4c809ee do not create markers on the heap, but create them in the WAL space directly 2016-04-29 01:01:10 +02:00
Jan Steemann 64350d802d micro optimizations 2016-04-26 10:22:13 +02:00
Michael Hackstein 85a2c3a44c The shortestPath computation now uses Slices instead of strings to identify the documents. 2016-04-25 15:25:22 +02:00
jsteemann 28930370c2 micro optimizations 2016-04-23 20:49:22 +02:00
Max Neunhoeffer 877e42e7c5 Merge branch 'FMH' into devel 2016-04-21 14:04:39 +02:00
Michael Hackstein c1ad6dd5dd Added the improvement for OutboundNeighbors to Inbound and Any neighbors as well. For Any-Neighbors the effect is not too significant. 2016-04-20 16:49:34 +02:00
Michael Hackstein ae80b86599 Added a function to request babies from an IndexIterator (next n elements). Used this function in OperationCursor to get a list of mptrs. The only Index supporting it right now is EdgeIndex. It is only used in OutboundNeighbors at this point. 2016-04-20 15:13:42 +02:00
Kaveh Vahedipour d53e47c7d5 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-04-20 11:23:10 +00:00
Michael Hackstein 0cb3741e4f Fixed a bug in assoc multi. One result container was not handed in by reference. 2016-04-20 11:19:55 +02:00
Michael Hackstein 3407f4b111 The edge index now hands-in the result vector for doc mptr to AssocMulti. Also fixed the batch size for index lookups 2016-04-20 09:16:51 +02:00
Frank Celler 3bb24146a6 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-19 19:18:02 -07:00
Jan Steemann 32082e30f0 use move 2016-04-19 13:20:13 +02:00
Frank Celler f85c700d20 silence some warnings 2016-04-19 07:35:03 +02:00
Jan Steemann b5a3928160 fixed leak 2016-04-07 17:48:58 +02:00
Michael Hackstein 1b967d9535 Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort. 2016-04-07 14:37:18 +02:00
Michael Hackstein 9d70091713 The RestEdges handler now behaves identically to the server side edges() functions. Specifically it does not return duplicate edges any more. Also added a helper function to build an EdgeIndex Lookup from VPackArray. 2016-03-30 10:13:09 +02:00
Michael Hackstein 8dcded7d00 Fixed SkiplistIndex lookup if searchValue is less than the smalles index element. 2016-03-24 16:32:36 +01:00
Michael Hackstein ed7fd3c495 Added VPack MinKey as Illegal Index Element. Is used to distinguish NON existance in Array indexes 2016-03-24 13:40:16 +01:00
Michael Hackstein c1d2c8ff6f Fixed compare function fpr Unique HashIndex. Had a problem with different number types 2016-03-24 12:46:35 +01:00
Michael Hackstein af14e598d1 Fixed Array Indexing. All tests are green again 2016-03-24 11:22:01 +01:00
Michael Hackstein bf6a4fedd9 Fixed array index insertion. 2016-03-23 17:31:11 +01:00
Jan Steemann 7c245bd3a3 Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 16:36:21 +01:00
Jan Steemann c8c9288400 harmonize value comparisons for hash indexes 2016-03-23 16:36:00 +01:00
Michael Hackstein c1a3ff0a8e Simplyfied skiplist index by removing an used member variable in Iterator 2016-03-23 12:12:12 +01:00
Max Neunhoeffer 12c420913e Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-03-23 09:02:14 +01:00
Max Neunhoeffer c2049b8ee1 Switch to IndexHandles. 2016-03-23 08:57:00 +01:00
Jan Steemann d763c102d6 fulltext fixes 2016-03-22 18:34:40 +01:00
Michael Hackstein ff87f38a14 Fixed index ordering for IN search. 2016-03-22 13:24:50 +01:00
Jan Steemann 910d620c7d Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-21 17:08:57 +01:00
Jan Steemann f0724447b6 fixed sparse index test 2016-03-21 17:08:42 +01:00
Michael Hackstein 34b6b85a4b Short Circuit in IndexIterator if query has which can never yield a result 2016-03-21 16:54:39 +01:00
Michael Hackstein 0b355e79d8 Fixed reset of PrimaryIndex Any Iterator 2016-03-21 16:30:35 +01:00
Michael Hackstein 7af92fb2ff IN values in index are now sorted 2016-03-21 15:43:01 +01:00
Michael Hackstein 2c100dff2e Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-21 14:58:24 +01:00
Michael Hackstein 69ad996767 Fixed implementation to multiply IN index lookups for hash and skiplist index. 2016-03-21 14:57:30 +01:00
Jan Steemann f458acc4c7 cleanup 2016-03-21 14:35:58 +01:00
Jan Steemann b672ce0985 test fixes 2016-03-21 12:15:40 +01:00
Max Neunhoeffer 268dc3c097 Fix geo index remove. 2016-03-21 09:12:56 +01:00
Michael Hackstein 5bc2274855 Fixed invalid search values in Graph Traverser. Now some more tests are green. Still failing 2016-03-18 16:47:55 +01:00
Michael Hackstein bb40b3c420 Fixed edge index lookup. Did fail for IN cases 2016-03-18 14:29:17 +01:00
Michael Hackstein 84454f49c4 Fixed Edge Index iterator to always retain the iterator data 2016-03-15 18:34:00 +01:00
Michael Hackstein 5d61b709bb Fixed OperationCursor and SkiplistIndex. The builder in OperationCursor did not retain the _buffer. 2016-03-15 08:56:37 +01:00
Michael Hackstein 380e4eda69 Another fix for skiplist index for Searches that should not hit any element 2016-03-10 16:22:15 +01:00
Michael Hackstein 34f9206a63 Fixed SkiplistIndex Lookup for Slice. Seems to be working in AQL. Needs to be tested in detail 2016-03-10 16:11:28 +01:00
Michael Hackstein eb8b09c85b Fixed Skiplist Index Lookup. Equallity Lookups now seem to work. Range Lookups will crash now. 2016-03-10 14:37:12 +01:00
Michael Hackstein b802ff9d25 Fixed memleak in HashIndex Lookup 2016-03-10 13:11:32 +01:00
Michael Hackstein 3cf571d59f Undefined behaviour in HashIndex. Slice is correct but is not iterated properly yet 2016-03-10 12:49:26 +01:00
Michael Hackstein 0d414b2aa6 Fixed PrimaryIndex iterator creation from AQL. Got my first FILTER x._key == 'test' query running. yeah 2016-03-10 11:10:58 +01:00
Michael Hackstein 23f845de05 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-10 10:46:30 +01:00
jsteemann 279fb105e2 cppcheck 2016-03-09 22:57:49 +01:00
Jan Steemann b55b5d7386 AqlValue refactoring 2016-03-09 17:50:20 +01:00
Michael Hackstein f5f039e493 Added a static function to edgeIndex to build a search-Value in a builder. 2016-03-09 13:28:43 +01:00
Michael Hackstein a24e28024e Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-09 09:59:56 +01:00
Michael Hackstein c3c06a2f5c Modified EDGES AQL funciton to use new Transaction API instead and does not rely on the shaper any more. Also added a iteratorForSlice method to EdgeIndex. It is slightly more complicated than other indexes iteratorForSlice functions because of the special _from, _to indexing in one index. 2016-03-09 09:59:51 +01:00
Jan Steemann b393c3d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:10 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Jan Steemann 0c6e8bcd98 fixed replace 2016-03-07 16:49:26 +01:00
Jan Steemann 0c2fdb9fb9 less dependency on document-collection.h 2016-03-04 20:53:17 +01:00
Jan Steemann 6eea757c01 simplifications 2016-03-04 19:40:24 +01:00
Jan Steemann c157363f3c less dependencies 2016-03-04 17:21:09 +01:00
Jan Steemann eb82d96836 constexpr 2016-03-04 12:33:59 +01:00
jsteemann 60ac50e5c6 cppcheck 2016-03-02 22:09:32 +01:00
Jan Steemann 4c03f4bf8d simplification 2016-03-02 15:50:52 +01:00
Michael Hackstein 65abe721f3 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-01 16:39:04 +01:00
Jan Steemann 298c96f2cc store information about datafile in upper bit 2016-03-01 16:29:09 +01:00
Jan Steemann 3fa4623dd1 made some methods private 2016-03-01 15:53:10 +01:00
Michael Hackstein 6e7f9ef49c Transaction OperationCursor now implements a skip method. 2016-03-01 14:37:40 +01:00
Jan Steemann acf308f3dc fixed test 2016-03-01 14:32:19 +01:00
Michael Hackstein f1d0875c4e Removed obsolete functions and skiplist key element. 2016-03-01 13:53:45 +01:00
Michael Hackstein fa8b4ae0e3 Removed Velocypack from FulltextIndex. And replaced TRI_string_vector_t with std::vector<std::string> 2016-03-01 13:35:47 +01:00
Michael Hackstein a48c1819bc Added an Implementation for AQL condition Iterator in HashIndex 2016-02-29 18:46:38 +01:00
Michael Hackstein ae7da462d0 Removed Import of *shape* in Indexes 2016-02-29 18:10:02 +01:00
Michael Hackstein b29b84687b Removed shape* include 2016-02-29 18:00:31 +01:00
Michael Hackstein cb40281543 Unshapified the GeoIndex 2016-02-29 17:58:26 +01:00
Michael Hackstein 7e086c901c Fixed n assignment where it should be an comparison 2016-02-29 17:07:07 +01:00
Michael Hackstein 09933bea41 Used the new MultiIndex iterator for AQL=>Skiplist iterator, if there is an IN used 2016-02-29 15:32:23 +01:00
Michael Hackstein 73b97bd489 Added implementation of a multi-index-iterator Iterator. This can be used as a wrapper around IN-Expanded index lookups and might be used in IndexNode as well. 2016-02-29 15:27:51 +01:00
Michael Hackstein e590f51d0f Added implementation for AQL Node => Skiplist Iterator function. Does not yet support IN statment, we need a multi Iterator for this. 2016-02-29 14:19:11 +01:00
Michael Hackstein b76c189990 Removed TRI_index_operator and all it's references. They are obsolete because of new VelocyPack index iterator on Skiplist index 2016-02-29 11:42:18 +01:00
Michael Hackstein cd8d49ead0 Replaced the old Skiplist Iterator with a new Implementation using VelocyPack instead of TRI_INDEX_OPERATOR 2016-02-29 11:32:43 +01:00
jsteemann 4845b3fc93 cleanup 2016-02-26 23:07:19 +01:00
Jan Steemann bd9293802d marker changes, unfinished 2016-02-26 19:39:17 +01:00
Michael Hackstein 4f832aa568 Fixed a bug in EdgeIndex lookup and added checks when inserting documents into an Edge Collection. They now need to have valid _from and _to entries 2016-02-26 15:48:48 +01:00
Michael Hackstein 7174a6225f Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-02-26 13:32:10 +01:00
Michael Hackstein ac173ca497 The Edge Index now indexes with VPackSlice instead of TRI_edge_header_t. Some functions that were using the Edge Index are disabled and will not work. These functions have to be modified to use the new Transaction API. 2016-02-26 13:31:10 +01:00
Jan Steemann ebf2d1520b removed TRI_doc_mptr_copy_t 2016-02-26 11:46:33 +01:00
Jan Steemann 3f07813b31 pacify compiler 2016-02-26 10:28:17 +01:00
Jan Steemann bc7787cf81 fixed logical confusion 2016-02-25 15:36:24 +01:00
Michael Hackstein 1f5202ad08 Removed obsolte TRI_hash_index_search_value_t. 2016-02-25 15:06:49 +01:00
Michael Hackstein 7b42fc7ae8 Unified lookup in PrimaryIndex to use identical format as HashIndex lookup does 2016-02-25 14:38:39 +01:00
Michael Hackstein 647cdc0ffe Implemented a indexScan iterator for Primary Index and moved the AQL iterator for it to VPack as well. Right now the AQL iterator is not functional is the memory management is not yet working. 2016-02-25 13:47:31 +01:00