Jan
76f84f2c6c
Allow the optimizer to use indexes ( #10543 )
...
* Allow the optimizer to use indexes
when a collection attribute is compared to anexpansion followed by an attribute name, e.g. `doc.value IN something[*].name`.
* Update CHANGELOG
2019-11-26 14:54:28 +01:00
Jan
1f41dbd256
show type of index when non-implemented exception is thrown ( #10425 )
...
* show type of index when non-implemented exception is thrown
* fix message
2019-11-13 16:43:00 +01:00
Andrey Abramov
f4e6538edd
Bug fix/internal issue #647 ( #10292 ) ( #10334 )
...
* Bug fix/internal issue #647 (#10292 )
* extend replication tests
* ensure proper replication order
* fix tests
* address review comments
* address test failures
* extend dump tests
* fix analyzers tests
* more fixes
* extend tests
* enhance tests
* adjust tests
* use enum instead of flags (part 1)
* cleanup
* use enum instead of flags (part 2)
* get rid of flags for views
* get rid of flags for collections
* completely get rid of collection flags
* fix replication test
* refactor index flags
* fix tests and move AnalyzerPool out of class scope
* fix tests
* adjust log levels
* add tests
* remove debug logging
* remove noexcept from `equalAanalyzer`
* extend cluster tests
* fix cluster tests
* add tests for views and smart graphs
* address jslint errors
# Conflicts:
# arangod/Cluster/ClusterMethods.cpp
# arangod/Cluster/v8-cluster.cpp
# arangod/IResearch/IResearchAnalyzerFeature.cpp
# arangod/IResearch/IResearchAnalyzerFeature.h
# arangod/IResearch/IResearchLinkMeta.cpp
# arangod/RestHandler/RestAnalyzerHandler.cpp
# arangod/StorageEngine/PhysicalCollection.cpp
# arangod/VocBase/Methods/Indexes.cpp
# tests/IResearch/IResearchAnalyzerFeature-test.cpp
# tests/IResearch/IResearchFeature-test.cpp
# tests/IResearch/IResearchLinkHelper-test.cpp
# tests/IResearch/IResearchLinkMeta-test.cpp
# tests/IResearch/IResearchQueryOptimization-test.cpp
# tests/IResearch/IResearchViewDBServer-test.cpp
# tests/IResearch/IResearchViewSort-test.cpp
# tests/V8Server/v8-analyzers-test.cpp
# tests/VocBase/LogicalDataSource-test.cpp
* Update CHANGELOG
* Update CHANGELOG
2019-10-30 17:01:18 +03:00
Jan
c7b0e68026
disable the creation of TTL indexes on sub-attributes ( #9995 )
...
* disable the creation of TTL indexes on sub-attributes
* updated CHANGELOG
2019-09-12 16:42:56 +03:00
Dronplane
2c72655dd5
Bug fix 3.5/issue #9612 ( #9778 )
...
* Bug fix/issue #9612 (#9764 )
* Fixed ViewExecutionNode retrieval with deleted documents present in view
* Ported solution from 3.4 branch
* Changed index store in collection from vector to set. To make reversable indexes always last to execute
* Fixed re-enter hung
* Index storage fix
* Made index order deterministic
* Fix Mac build
* Added tests for index reversal
* Fixed Mac build
* Code cleanup
* Some cleanup
* Removed some redundand copy constructor calls
* Applied review comments
* Applied review comments
* Update CHANGELOG
* Update CHANGELOG
2019-08-21 17:59:59 +03:00
Jan
3dcc293224
make index selection more deterministic ( #9736 )
...
* make index selection more deterministic
* updated CHANGELOG
* serialize indexes used by traversal with their estimates
* serialize selectivity estimates for shortest path nodes too
* fix assertion that doesn't hold true in unit tests
* fix test
2019-08-20 12:55:21 +03:00
Jan
d2b01a4c5e
Bug fix 3.5/make ttl indexes behave like others ( #9547 )
...
* make TTL indexes behave like other indexes on creation
if a TTL index is already present on a collection, the previous behavior
was to make subsequent calls to `ensureIndex` fail unconditionally with
the error "there can only be one ttl index per collection".
now, we are comparing the attributes of the to-be-created index with the
attributes of the existing TTL index and make it only fail when the
attributes differ. if the attributes are identical, the `ensureIndex`
call succeeds and returns the existing index.
* added tests
* updated CHANGELOG
2019-07-23 15:46:50 +03:00
Jan
1a58cc2213
add VelocyPackHelper::equal method ( #9389 )
2019-07-03 12:15:11 +02:00
Jan
fe19b8aaae
don't unfairly favor the edge index when comparing it to more specialized indexes on `_from`/`_to` plus other attributes ( #9362 )
2019-07-01 16:32:42 +02:00
Jan
64c8079186
Forbid indexes on _id ( #9337 )
2019-06-28 11:11:22 +02:00
Jan
6f0c116130
clean up usage costs ( #9237 )
2019-06-26 17:01:22 +02:00
Simon
cf7cf0131b
Try to fix corruption error ( #9258 )
2019-06-25 10:18:26 +02:00
Dan Larkin-York
44a413a9af
Miscellaneous fixes for named indices ( #9100 )
2019-05-31 17:00:56 +02:00
Jan
3364ea6273
refactor index APIs ( #9145 )
2019-05-31 11:12:39 +02:00
Jan
d67513607d
fixed issue #9106 ( #9116 )
2019-05-29 18:27:38 +02:00
Wilfried Goesgens
1907a7211b
Bug fix/cleanup system includes ( #8962 )
2019-05-15 15:12:59 +02:00
Simon
0502a97abb
forwardport changes from 3.4 ( #8894 )
2019-05-08 14:34:25 +02:00
Simon
2f1cfa40e0
Fix tick overflow ( #8840 )
2019-04-26 11:07:04 +02:00
Jan
2669544944
Bug fix/fix skip inaccessible ( #8779 )
2019-04-17 15:54:15 +02:00
Jan
80b021f915
speed up projections with RocksDBPrimaryIndex if there is no FILTER condition ( #8770 )
2019-04-16 17:40:30 +02:00
Jan
1d175f446d
do not use the TTL index for queries which it does not support ( #8766 )
2019-04-15 18:55:19 +02:00
Simon
7cd84a785a
Remove Obsolete code ( #8657 )
2019-04-03 13:40:44 +02:00
KVS85
2d5bf58c94
Remove USE_IRESEARCH definition and usage ( #8613 )
2019-03-28 17:23:51 +01:00
Jan Christoph Uhde
c3f7961b88
apply unique log ids ( #8561 )
2019-03-25 20:26:51 +01:00
jsteemann
871c987b68
eliminate dead store
2019-03-24 18:45:10 +01:00
Dan Larkin-York
44810a1218
Improved index error messages. ( #8532 )
2019-03-22 20:26:09 +01:00
Simon
3ada15fc35
The Legendary El Cheapo ( #8485 )
2019-03-22 11:38:33 +01:00
Dan Larkin-York
413e90508f
Named indices ( #8370 )
2019-03-13 18:20:32 +01:00
Jan
3156e481de
fix test ( #8402 )
2019-03-13 15:24:55 +01:00
Jan
9d3327c6ea
Bug fix/rearm cursors ( #8363 )
2019-03-12 15:28:33 +01:00
Vasiliy
e97cd8a0fb
issue 526.1: initial support for vocbase-prefixed analyzer names ( #8319 )
...
* issue 526.1: initial support for vocbase-prefixed analyzer names
* backport: add tests for new functionality, add temporary workaround for legacy analyzers
* address review comments
* fix typo
2019-03-06 15:13:19 +03:00
Jan
d46acbb156
Bug fix/make ttl index work with datestrings too ( #8208 )
2019-02-22 16:09:51 +01:00
Jan
43f4163b0f
Bug fix/small issues 21022019 ( #8218 )
2019-02-21 15:49:07 +01:00
Jan
1798036ea0
Bug fix/optimizations 18022019 ( #8180 )
2019-02-19 19:24:04 +01:00
Jan
44c6a2d732
Feature/ttl index ( #8169 )
2019-02-19 14:12:21 +01:00
Jan
820ba5dd7c
micro optimizations ( #8156 )
2019-02-13 16:14:28 +01:00
Simon
ba102323cc
Refactoring index interface ( #7971 )
2019-01-17 16:33:46 +01:00
Jan
9ce9312239
speed up containers that contain ExecutionNodes' variables ( #7937 )
2019-01-14 13:38:56 +01:00
Jan Christoph Uhde
f65853e30f
make use of sortedness of rocksdb primary index ( #7788 )
2019-01-11 09:40:22 +01:00
Jan
fe81007438
support db._explain with all plans ( #7895 )
2019-01-08 18:06:46 +01:00
Frank Celler
ac9f375fb5
big reformat
2018-12-26 00:54:03 +01:00
Simon
a2a0b03f43
Rdb index background (preliminary) ( #7644 )
2018-12-21 19:24:10 +01:00
Michael Hackstein
4965cea454
Feature/improve edgeindex covered ( #7718 )
...
* The Rocks Edge index now states that it covers _from and _to and can be used as a covering index for both.
* Moved the ExecutionState checkmark in query to a later point. It actually still included parts of Instantiation in cluster
* Updated test for the new feature, it now covers more states
* Updated changelog
* Updated ClusterIndex to support RocksDBEdgeIndex covering
* Removed assertion, during startup this assertion is not hold
* Replaced inplace builder by a leased builder
* Update CHANGELOG
Co-Authored-By: jsteemann <jsteemann@users.noreply.github.com>
* Update CHANGELOG
Co-Authored-By: jsteemann <jsteemann@users.noreply.github.com>
2018-12-21 13:41:25 +01:00
Jan
ea39dfa3d2
fixed issue #7757 ( #7805 )
...
* fixed issue #7757
* fix compilation error
2018-12-19 14:06:52 +01:00
Vasiliy
f1245af554
issue 511.2.1: use references instead of raw pointers for Index operations to avoid null pointer access ( #7725 )
2018-12-11 14:40:49 +03:00
Vasiliy
dff5d53c31
issue 511.1: move iresearch data-store from IResearchView to IResearchLink ( #7695 )
...
* issue 511.1: move iresearch data-store from IResearchView to IResearchLink
* backport: address build failures on some compilers
* address MacOS build issue
2018-12-10 14:00:35 +03:00
Jan
7b93b1c8f9
Bug fix/dont fail when restoring cluster dump into single server ( #7598 )
2018-12-03 16:18:07 +01:00
Vasiliy
e16be8f3db
issue 505.1: move index json comparison into index-type-specific implementations to address issue with incorrect definition comparison ( #7430 )
...
* issue 505: move index json comparison into index-type-specific implementations to address issue with incorrect definition comparison
* remove commented-out code
* fix typo
* backport: add additional logging and fix typo
2018-12-03 16:26:08 +03:00
Jan
8c8472be48
Bug fix/issue 7522 ( #7556 )
2018-11-29 19:25:49 +01:00
Simon
d5cb94d2d0
Minor refactoring ( #7408 )
2018-11-22 16:16:05 +01:00