Error in "Neo4j Training Cypher Query Tuning in Neo4j 4.x Reducing cardinality"?

Example: Using the full-text schema index

PROFILE
CALL db.index.fulltext.queryRelationships(
'ActedInRoleIndex', $testString) YIELD relationship
WITH relationship AS rel
RETURN startNode(rel).name, endNode(rel).title, rel.roles

It says "... We see that the execution plan is doing a NodeByLabelScan which is producing a lot of rows.... "

But I don't see any NodeByLabelScan in the Profile exit.

Is this an error in the course text?

Thanks!

Hello @antonio.delbrio and welcome to the Community!

Indeed this is a mistake in the text. We will make the text clearer so it refers to the previous query.

Elaine

1 Like