cancel
Showing results for 
Search instead for 
Did you mean: 

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

antonio_delbrio
Node Link

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!

1 REPLY 1

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

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.