Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-06-2020 06:37 AM
Newbie in Neo4J 3.5.12
I was importing data using the admin tool in which I succeeded, but when querying using the label of a node it doesn't return any row. Querying without label is working. I tried to import adding the label to the import command and as "column" in the import file. Both same outcome.
import command: .\bin\neo4j-admin import --nodes:Experiment=import\experiment.txt
import file structure:
:LABEL,ExperimentNumber,Startdate
Experiment,"12MBBJ0033","20121128"
query used giving results:
MATCH (n) WHERE n.ExperimentNumber='12MBBJ0033' return n
query used giving no results:
MATCH (n:Experiment) WHERE n.ExperimentNumber='12MBBJ0033' return n
08-06-2020 07:49 AM
Try:
MATCH (n:Experiment {ExperimentNumber: '12MBBJ0033' })
RETURN n
See if that does it for you.
08-06-2020 10:53 AM
Thx Muddy
Meanwhile I noticed there was an error at the end of the import process. This probably caused the info to be corrupt. When the import was completely successful I could retrieve the data as expected.
08-08-2020 04:28 AM
Glad you got it figured out.
All the sessions of the conference are now available online