cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Using LOAD CSV for Import - Introduction to Neo4j 4.x Series

I am trying to do the steps in the mentioned URL but am getting the below error:
Neo.ClientError.Statement.SyntaxError: Invalid input 'O': expected whitespace, comment, IF or FOR (line 1, column 30 (offset: 29))
"CREATE INDEX MovieTitleIndex ON (m:Movie) FOR (m.title)"
Can someone please guide me?

1 REPLY 1

what version of Neo4j.
If 4.2 the correct syntax is

CREATE INDEX MovieTitleIndex FOR (n:Movie)
ON (n.title);