From bf3f6e3166cb3c954f0841bd16f9178aebf574d2 Mon Sep 17 00:00:00 2001 From: Oskar Hane Date: Mon, 16 May 2016 12:55:50 +0200 Subject: [PATCH 1/2] Display index used in query plan --- lib/visualization/components/queryPlan.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/visualization/components/queryPlan.coffee b/lib/visualization/components/queryPlan.coffee index 2cdca2f09af..9a38f76eeb6 100644 --- a/lib/visualization/components/queryPlan.coffee +++ b/lib/visualization/components/queryPlan.coffee @@ -104,6 +104,10 @@ neo.queryPlan = (element)-> wordWrap(identifiers.filter((d) -> not (/^ /.test(d))).join(', '), 'identifiers') details.push { className: 'padding' } + if index = operator.Index + wordWrap(index, 'index') + details.push { className: 'padding' } + if expression = operator.LegacyExpression ? operator.ExpandExpression ? operator.LabelName wordWrap(expression, 'expression') details.push { className: 'padding' } From 482ff6e06c796a43a26bce5cd7b26c056c9312f9 Mon Sep 17 00:00:00 2001 From: Oskar Hane Date: Mon, 16 May 2016 15:30:11 +0200 Subject: [PATCH 2/2] Map Index argument from Bolt --- app/scripts/services/Bolt.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/services/Bolt.coffee b/app/scripts/services/Bolt.coffee index aac21292f09..3305879be71 100644 --- a/app/scripts/services/Bolt.coffee +++ b/app/scripts/services/Bolt.coffee @@ -354,6 +354,7 @@ angular.module('neo4jApp.services') Rows: plan.rows, EstimatedRows: plan.arguments.EstimatedRows, identifiers: plan.identifiers, + Index: plan.arguments.Index, children: plan.children.map boltPlanToRESTPlanShared }