1
0
Fork 0
arangodb/js
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
..
actions Feature/engine version added to agent configuration (#7481) (#7524) 2018-11-29 14:25:40 +01:00
apps/system fix #7900 - null bind values do not change to empty string anymore (#7917) 2019-01-09 10:04:49 +01:00
client Rdb index background (preliminary) (#7644) 2018-12-21 19:24:10 +01:00
common Bug fix/internal issue #316 (#7911) 2019-01-10 21:04:19 +03:00
node Doc - New section for query profiler + fresh examples (#6070) 2018-08-08 10:51:09 +02:00
server Fix TypeError for invalid manifests (#7602) 2018-12-10 15:45:19 +01:00
.eslintrc Bug fix/update ui node dependencies (#6869) 2018-10-15 12:38:06 +02:00
.jshintrc
GUIDELINES.md
JS_SHA1SUM.txt Copy installation files on startup (#6491) 2018-09-14 11:15:21 +02:00
minify-node-modules.ps1 Merge with latest changes in improve-jenkins 2017-08-31 17:53:48 +02:00