1
0
Fork 0
arangodb/js/common/modules/@arangodb
Andrey Abramov d4a010baf9
Bug fix/internal issue #316 (#7911)
* allow using scorers outside ArangoSearch view context

Signed-off-by: Andrey Abramov <andrey@arangodb.com>

* ensure query is properly optimized after replacement of scorer functions

* do not apply `handleViewsRule` to queries without views

* simplify optimization rule for ArangoSearch views

* show ArangoSearch view scorers in query explanation

* fix tests

* fix tests

* add stub for scorer related tests

* reformat

* check variable depth in `ViewExpressionContext::getVariableValue`

* add some tests

* address js test failures

* address jslint errors

* ensure `IResearchViewNode` exposes variables used in scorers

* ensure scorers with expressions are deduplicated

* fix deduplication for indexed access

* more tests

* partially address review comments

* address review comments

* simplify code

* remove irrelevant, commented out code

* ensure array comparisons are properly handled

* update changelog & loki
2019-01-10 21:04:19 +03:00
..
aql Bug fix/internal issue #316 (#7911) 2019-01-10 21:04:19 +03:00
examples Doc - new page 'Remove vertex' in AQL examples (#5818) 2018-07-10 19:07:30 +02:00
foxx Fix getReadableName (#6272) 2018-08-29 17:20:52 +02:00
graph Improve pseudo RNG. 2016-09-29 16:39:14 +02:00
graph-examples fix example, so geo indices are actually used (#6305) 2018-08-30 19:22:13 +02:00
arango-collection-common.js S2 based Geo-Spatial index (#5249) 2018-05-02 23:54:41 +02:00
arango-cursor.js much better diagnostics for AQL query results cache (#6580) 2018-09-25 09:49:11 +02:00
arango-statement-common.js Reformat code 2016-06-30 16:57:17 +02:00
common.js do not create _modules collection for new databases/installations (#7291) 2018-11-13 11:40:15 +01:00
crypto.js Add uuidv4 & genRandomBytes methods (#5732) 2018-08-17 11:04:43 +02:00
deprecated.js Reformat code 2016-06-30 16:57:17 +02:00
extend.js Goodbye ES2015 classes 2015-12-16 01:16:33 +01:00
general-graph-common.js Gharial rewrite in C++ (#5631) 2018-08-09 09:30:04 +02:00
heap.js Reformat code 2016-06-30 16:57:17 +02:00
is.js Reformat code 2016-06-30 16:57:17 +02:00
mocha-runner.js Whitespace 2017-03-16 15:45:45 +01:00
mocha.js Implement tap/xunit reporters in Foxx 2017-03-15 20:09:31 +01:00
replication-common.js Replication cleanup (#5105) 2018-04-17 08:17:42 +02:00
request.js Teach Foxx req.makeAbsolute about unix sockets (#7327) 2018-11-20 14:20:56 +01:00
simple-query-common.js S2 based Geo-Spatial index (#5249) 2018-05-02 23:54:41 +02:00
test-helper.js Bug fix/fix duplicate testcasenames (#7003) 2018-10-23 11:18:22 +02:00
testrunner.js add ability to filter jsunity testsuites by testcase (#5807) 2018-07-12 13:35:29 +02:00
util.js Better foxx errors (#6264) 2018-08-28 14:36:33 +02:00