1
0
Fork 0
Commit Graph

323 Commits

Author SHA1 Message Date
Jan 99f176bed5 Feature/add search keyword (#6166)
* added SEARCH keyword

* fixes jslint errors

* add incompatibility notice

* remove VIEW keyword (does not work yet!!)

* add initial support for SEARCH keyword to optimizer rules

* replace FILTER with SEARCH keyword in tests

* removed VIEW keyword, make shell_server_aql tests pass again in single server

* cleanup

* handle SEARCH clause for views

* make SEARCH a non-keyword

* fixed an issue with duplicate variables

* fixed 3 tests

* fix SEARCH statement support for views

* minor refactoring

* fix integration tests

* optimize SEARCH conditions a bit more

* fix jslint error

* fixed wrong comments and typo in class name

* fix documentation

* adjust recovery tests to use SEARCH instead of FILTER

* fix another failing test
2018-08-18 20:22:58 +03:00
Jan d7e631eddf
Bug fix/more sparsung (#6177) 2018-08-17 08:47:45 +02:00
Jan b5eaf1443b
make optimizer rule "patch-update-statements" fire for REPLACE too (#6181) 2018-08-17 08:45:40 +02:00
jsteemann 039305d486 fix documentation 2018-08-14 17:55:29 +02:00
jsteemann 9141855b16 some adjustments to the docs for `REGEX_MATCHES` 2018-08-14 11:04:48 +02:00
Shivam Dave 1360cfc3c3 Resolved regex matches integration tests and documentation 2018-08-09 15:09:47 -07:00
Shivam Dave 47bea99bbe Regex matches implementation integration tests and documentation 2018-08-09 10:17:32 -07:00
Simon 6a97e441a6 Doc - New section for query profiler + fresh examples (#6070) 2018-08-08 10:51:09 +02:00
Jan d5180ef838 Doc - add TOKENS AQL function to general list of AQL functions (#6105) 2018-08-07 21:39:38 +02:00
shivamdave24 d4c6431ee5 Regex Split Implementation (unfinished) (#5991) 2018-08-01 12:09:36 +02:00
Thomas Fauskanger 81fe3cede3 Doc - Update tutorial on Traversal: figure shows Ned as father of Jon (#5990) 2018-07-26 23:53:19 +02:00
Andrey Abramov 9205e2d9f8
allow user to explicitly track values for "exists" query (#5959)
* allow user to explicitly track values for "exists" query

* fix broken catch tests

* rename view link property

* fix tests after merge
2018-07-25 16:55:02 +03:00
shivamdave24 7db28da251 Levenshtein Distance function implementation with documentation and i… (#5922) 2018-07-25 12:48:58 +02:00
Jan Christoph Uhde 4c0f881764 compatibilty 3.3 <-> 3.4 (#5963) 2018-07-25 09:05:34 +02:00
Vasiliy 6edebf0384 issue 410.2: ensure documentation matches implementation (#5939)
* issue 410.2: ensure documentation matches implementation

* minor documentation update
2018-07-21 01:22:05 +03:00
Wilfried Goesgens d7f96d2a63 Doc - single link per line (#5904) 2018-07-20 10:46:27 +02:00
shivamdave24 c45a1b6ac1 Soundex function implementation with integration tests and minor bug fixes to feature/add-aql-tobase64-tohex-encodeuricomponent-uuid branch (#5851) 2018-07-13 17:47:25 +02:00
Simran 34ec56d421 Feature/misc spelling corrections (#5164) 2018-07-13 13:06:20 +02:00
Jan Christoph Uhde bcf9e30a4d Feature/cluster single operations (#5585) 2018-07-12 20:18:36 +02:00
Simran ef6e5dd8df Doc - do not wrap links in Markdown, unclutter page ToC (#5820) 2018-07-11 19:34:38 +02:00
maxkernbach cf39008acb Doc - new page 'Remove vertex' in AQL examples (#5818) 2018-07-10 19:07:30 +02:00
Wilfried Goesgens bd8976956c Doc - Add example anchors (#5752) 2018-07-06 16:19:36 +02:00
jsteemann dd36442c47 added missing function parameters to documentation 2018-07-05 22:51:25 +02:00
Jan f9dc610c1e
Bug fix/internal issue 2658 (#5760) (#5778) 2018-07-05 10:19:28 +02:00
Wilfried Goesgens 5ed2ca5a56 Doc - fix link layer1 (#5763) 2018-07-04 19:20:10 +02:00
jsteemann 2d622bcd9e updated CHANGELOG 2018-07-04 19:02:50 +02:00
Simran eef962d619 Doc - Fix UPDATE example, add details about single document operations (#5222) 2018-07-04 18:07:33 +02:00
Jan Christoph Uhde 5bf28ee587 Doc - fix aql-insert-options (#5633)
* fix aql-insert-options
* Syntax, INTO over IN, be explicit about OPTIONS being optional
* partial work of a more wider effort
2018-07-04 16:57:10 +02:00
Simran 26814b9918 Doc - Add ArangoSearch as top-level chapter in Manual and AQL docs (#5702)
* Add ArangoSearch as top-level chapter in Manual and AQL docs
* Update SUMMARY.md
* `Views/README.md` already has content, so we shouldn't remove it. It acts as intro page to ArangoSearch, which is okay-ish. The actual ArangoSearch page appears as sub-chapter called _Usage_.
* Change ArangoSearch chapter names for Manual and AQL book
* Fix links
2018-07-04 14:46:26 +02:00
Andrey Abramov 17e955d837
ArangoSearch advanced AQL functions (#5756)
* extend filter checking

* extend IResearchViewNode tests

* distinguish scorer and filter arangosearch functions

* initial implementation

* add some tests for the recently added aql functions

* more tests

* force phrase function to use context-wise analyzer

* more tests

* ensure exists function uses analyzer from context

* fix query execution tests

* allow to override context analyzer in phrase function

* modify EXISTS signature to accept optional analyzer, fix tests

* more tests

* even moar tests

* more tests

* update documentation

* add testing scorer

* fixes after review

* attempt to fix msvc compilation issues

* add extra check

* add another check
2018-07-04 02:59:31 +03:00
maxkernbach 10a2709318 Doc - fix documentation build script + a few other things (#5751) 2018-07-03 18:12:36 +02:00
sleto-it 60bc6a948c
Doc - Dangling interbook checker [New] (#5735) 2018-06-30 13:23:02 +02:00
jsteemann b1a7316df4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2018-06-28 19:03:27 +02:00
jsteemann b1002075b3 Merge branch 'feature/add-distinct-aggregator' of https://github.com/arangodb/arangodb into devel 2018-06-28 19:03:16 +02:00
Simran 23808ce707 Doc - Typo (#5707) 2018-06-28 17:15:59 +02:00
Simran 0f6a234ba0 Doc - Add version to Gitbook configs + fix (#5701) 2018-06-27 20:56:57 +02:00
maxkernbach 6586504441 Update demo graphs (UI + documentation) (#5535) 2018-06-27 14:16:44 +02:00
jsteemann 81af9a05ba updated documentation 2018-06-26 23:03:26 +02:00
jsteemann 2610af55f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/add-distinct-aggregator 2018-06-26 20:16:46 +02:00
Simon 52f44596ba Adding MultiPolygon support, fixing some outstanding bugs (#5613)
* Adding MultiPolygon support, fixing some outstanding bugs

* removing dead code

* Adding MultiPolygon tests

* Added multi-polygon docs

* adjust the docs

* fixing remaining occurrences of geo1 / geo2, added note into UpgradingChanges34.md

* some clarification

* Improve Geo docs, reformatting

* Release notes: responses are JSON, reformatting

* Update release notes: /_api/aqlfunction has an isNewlyCreated attribute now

* Update Geo.md
2018-06-22 10:03:27 +02:00
jsteemann 8af5e06223 refactoring of aggregators 2018-06-20 02:33:20 +02:00
maxkernbach 2a4d5878d3 Doc - clarify WITH for cluster traversal (#5540) 2018-06-18 10:53:49 +02:00
Jan Christoph Uhde f81e42af36 Add optimizer rule that replaces js function calls (NEAR/WITHIN/FULLTEXT) with pure AQL (#5529) 2018-06-12 13:48:31 +02:00
maxkernbach 9d622c566c Doc - Dataset and example for Multiple Path Search (#5483) 2018-06-05 09:39:48 +02:00
Jan dc97eb0111
Subquery optimizations (#5398) 2018-05-28 13:56:03 +02:00
maxkernbach 744fe669cb Doc - fix doc build + remove unsupported option for graph traversals (#5470) 2018-05-28 13:22:49 +02:00
Heiko beb8aae99c Updated Geo.md - typos and wrong distance query (#5365) 2018-05-25 19:26:40 +02:00
Simran 38a6b15abd Doc - Updates Array.md (#5367)
Replace previously missed "Example" headlines with bold text.
2018-05-22 19:24:28 +02:00
Wilfried Goesgens eed1235893 Feature/aql date trunc 2 (#5295) 2018-05-16 17:33:27 +02:00
Simran ab5775c04b Doc - Remove AQL array example anchors (#5207) 2018-05-14 10:29:07 +02:00
maxkernbach 5cd4064be5 Doc - New Example 'Multiple Path Search' (#5307)
Issue #3545
2018-05-11 12:36:59 +02:00
Simran 59de3403c1 Doc - Administration & Programs Refactor (#4907) 2018-05-10 13:05:22 +02:00
Simon 8d5a30cca6 S2 upgrade (#5258) 2018-05-03 18:18:09 +02:00
Jan 9c0460acff
Feature/aql optimizations (#5237) 2018-05-03 16:55:58 +02:00
Simon 828f1d423c S2 based Geo-Spatial index (#5249) 2018-05-02 23:54:41 +02:00
Jan 349e2c1681 forward-port AQL optimizations from 3.3 (#5020)
* forward-port AQL optimizations from 3.3

* fix restrict-to-single-shard rule

* added tests for specific cases

* ModificationNodes now can know if they are restricted or not

* OptimizerRule now updates the ModificationNode instead of setting ownName on remote node.

* The DBServerEngine container now only sends a subset of snippets (those which are relevant) It is  able to restrict any part of the query to a certain shard or even a list of shards

* ExecutionEngine CreateBlocks in ClusterMode now returns Result instead of throwing.

* Adapted Coordinator side to a bitter mapping of RemoteNode => QuerySnippets. This is still ongoing work.

* Fixed Coordinator enginecontainer test and finisehd implementation of EngineInfoContainerDBServer. Seems to work so far, need to adapt test to prove it.

* Adapted test for modification nodes and restrict to shard.

* restrictTo can now be de-/serialized on Modification Nodes

* Fixed Community Compile Error

* Added a test for Indexes/EnumerateCollection nodes

* EnumerateCollection and IndexNode now have options to be restricted to a single shard, opt rule not yet updated

* DBServer part of planning now checks Enumerate and IndexNodes for single shard optimization

* Added tests for simple single shard optimization on IndexNodes

* Adapted optimzierrule for SingleShard optimierung on IndexNodes

* Fixed an issue with externally restricted shard ids in combination with shard_id based optimization

* Added a test for multiple single shard optimizations on the same collection

* Removed collection/Shard duplicate check of optimize to single shard rules

* Updated Explainer to handle optimize to single shard

* Let more tests pass an optimized AQL variant

* Temporarily disabled a tests that can only be solved after some work in transaction
2018-04-30 11:25:09 +02:00
Simon 95c8710dec Fixing subqueries in aql profiler (#5195)
* Fixing subqueries in aql profiler

* Adding additional testsuite

* Fix AQL profiling example name, add API example

Also use different query for explain and profiling with SLEEP() for
non-zero runtimes.

* New/updated examples for query explain/profiling

* Fix runtime calculation
2018-04-25 13:35:55 +02:00
Simon 468231efc5 AQL Profiling code (#5165)
* initial start of profiling

* adding profiling code

* Fixing remote block tracing, fixing width and units

* Fixing some tests

* Various fixes

* adressing review comments
2018-04-24 16:17:30 +02:00
sleto-it 5661492de0
Doc - New Driver Book (#4825) 2018-04-12 17:12:54 +02:00
maxkernbach 56497e13f9 Doc - fix issue #4778 (#5081) 2018-04-11 15:47:38 +02:00
Manuel B 028eabc297 Doc - more AQL examples (#5016) 2018-04-09 11:48:36 +02:00
Jan 2eb6d719ca
added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5023)
query = "FOR doc IN @@collection FILTER doc.value > @value RETURN doc";
    bind = { value: 42, "@collection": "mycollection" };
    options = { examples: 10, anonymize: true };
    require("@arangodb/aql/explainer").debugDump("/tmp/query-debug-info", query, bind, options);

Entitled users can send the generated file to the ArangoDB support to facilitate
reproduction and debugging.

The data from the generated file can be restored and analyzed via the *inspectDump*
function:

    require("@arangodb/aql/explainer").inspectDump("/tmp/query-debug-info");
2018-04-05 14:06:59 +02:00
Jan 11cfbf5039
Feature/optimize cluster collect (#4897) 2018-04-03 17:28:07 +02:00
Simran c662df5cc0 Doc - fix query parse example (#4982) 2018-03-28 09:55:45 +01:00
Simran 6c11452ace Doc - Add some missing db and collection methods (#4901) 2018-03-27 17:22:43 +01:00
Manuel B bfdb0cc8aa Doc - AQL functions now A-Z ordered in the summary (#4925) 2018-03-23 10:22:39 +00:00
Wilfried Goesgens a16d4b0109 Feature/cpp aql reverse (#4911) 2018-03-23 09:54:37 +01:00
Manuel B 215777736e Move AQL Date Functions => CPP 2018-03-22 15:22:24 +01:00
Jan e66b00b745 Doc - Fix for Issue #4881 (#4890) 2018-03-19 10:32:01 +01:00
Manuel B 73b6975e56 Doc - colors in the AQL explain examples (#4835) 2018-03-14 11:55:29 +01:00
Simon 5609cbf517 Deadlock detection uses TransactionID instead of Thread ID (#4787) 2018-03-09 18:35:38 +01:00
Wilfried Goesgens 33bc2f704f Doc - AQL improve examples (#4788) 2018-03-08 20:25:56 +01:00
Simon 102998dd65 Streaming Query Cursor (#4769) 2018-03-08 09:18:41 +01:00
Wilfried Goesgens c7a9b41cf5 Doc - Interactively generated AQL examples (#4757)
* interactively generated AQL examples
2018-03-05 19:17:16 +01:00
Manuel B 970765b486 documentation: fix date_compare example (#4713) 2018-02-28 17:19:36 +01:00
Wilfried Goesgens a3e46710e7 fix REPLACE syntax, the collection was missing. (#4703) 2018-02-28 13:29:42 +01:00
sleto-it 0ba532b16a
Doc - Replication Refactor - Part 1 (#4555)
Next steps after DC2DC and Cluster doc improvements:

- We refactor replication sections and make more intuitive separation between Master/Slave and the new Active Failover in 3.3
- We create corresponding sections for Master/Slave and Active Failover in the Administration and Deployment chapters, as well as in the Scalability chapter, where these "modes" are introduced
- We touch and improve the "Architecture" chapter as well, where some architecture info have to be placed
- We reorg the TOC having in more "logical" order:
-- Deployment
-- Administration
-- Security
-- Monitoring
-- Troubleshooting
- We adds parts in the TOC
- We add toc per pages, using page-toc plugin
- We also put close together "Scalability" and "Architecture" chapters, preliminary steps of further improvements / aggregation
- We improve swagger

Internal Ref:
- https://github.com/arangodb/planning/issues/1692
- https://github.com/arangodb/planning/issues/1655
- https://github.com/arangodb/planning/issues/1858
- https://github.com/arangodb/planning/issues/973 (partial fix)
- https://github.com/arangodb/planning/issues/1498 (partial fix)
2018-02-28 12:23:19 +01:00
jsteemann 9046388722 fixed documentation. thanks @konsultaner 2018-02-27 08:38:32 +01:00
Jan Christoph Uhde 586a66ebbf Fix: #4583 - adds AQL ASSERT and WARN (#4584) 2018-02-26 14:25:24 +01:00
Wilfried Goesgens bda5c79bce Implement FIND_FIRST and FIND_LAST in c++ (#4608) 2018-02-19 10:41:21 +01:00
Simran 0e0b467a45 Doc - Adds toc plugin (#4577)
Internal Ref: arangodb/planning#1053
2018-02-13 19:04:32 +01:00
Jan 80df690816
remove obsolete hint (#4531) 2018-02-08 08:53:24 +01:00
Vasiliy aa041ddfb9 locally tested only (#4476) 2018-02-05 11:24:34 +01:00
Wilfried Goesgens 054989cd41 Documentation/rename iresearch files (#4456) 2018-01-29 17:23:18 +01:00
Jan 3eb76c1a4d Doc - clarify documentation for AQL data modification operations (#4391) 2018-01-23 10:59:14 +00:00
Andrey Abramov ffbb00bbe2 standardize on the 'analyzer' and 'trackListPositions' naming (#4384) 2018-01-22 16:39:53 +01:00
Andrey Abramov a1cfb3d72b Feature iresearch (#4105) 2018-01-19 14:23:58 +01:00
Wilfried Goesgens 6f9b38b974 Doc - fix references (#4322) 2018-01-16 10:35:19 +00:00
Wilfried Goesgens 1eaa0332ad work on iresearch documentation (#4297) 2018-01-12 17:47:11 +01:00
Jan b2b6c06cbf
Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
Jan 2a93560473
added AQL function `IS_KEY` (#4158) 2018-01-05 14:50:57 +01:00
Jan 7018d003cc
added `SORTED` and `SORTED_UNIQUE` AQL functions (#4157) 2018-01-05 14:50:27 +01:00
Heiko 65d22c6066 Feature/sha512 aql cpp (#4181) 2018-01-02 14:31:01 +01:00
Simran efa75d345c Proper links for new features, correct sitemap URL of Cookbook (#4118)
* Proper links for new features, correct sitemap URL of Cookbook

* Update CSS, remove HEADER.html, remove traces of MDPP
2017-12-21 11:34:05 +01:00
Jan 2a96df5ca5
Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
Simran e172865ac9 Small AQL tutorial improvements (#3955) 2017-12-14 20:18:25 +01:00
Simran a1a02d29ce Documentation/minor changes 1 (#3952)
* Add WITH to graph traversal syntax

* State clearer what where whitespace is ignored in conf files

* Add cross-references between POSITION() and CONTAINS()

* Mention GeoJSON in the description of the useLonLat option

* Troubleshooting: unexpected long running queries

Add remark that collection literals are inferior to FOR constructs and should not be used accidentally instead of variable names

* Add storage engine comparison table, replace hint to note that users might want to pick RocksDB for an installation

* CSS: No margin extra margin after last paragraph in callouts / hint boxes
2017-12-14 20:18:13 +01:00
Simon Grätzer ec80ee39fd Fulltext Index Cursor (#3807) 2017-12-06 14:29:57 +01:00
Wilfried Goesgens 3fe4b2fda5 backport documentation variable configurations (#3850)
* Correct custom search IDs, sitemap and edit URLs

* deploy versions through shell script from central places

* shellcheckify

* shellcheck, indent

* move all configs into one file

* add settings

* one more char that may occur in ids

* add per book version, its not yet the right ids.

* Update VERSIONS

Created new CSE for Devel Cookbook, replaced all IDs by Devel CSE IDs, adjusted prio to 0.3
2017-12-05 14:11:21 +01:00
jsteemann 7e7bd22f37 fix broken documentation link 2017-11-28 22:36:57 +01:00