I have a Node with Label Experiment with an attribute called ExperimentName.
This ExperimentName is based on the concatenation of 3 different variables
"Condition (ExperimentProfile1) Dose"
Example :
Control diet (MOA77) LD
Control gavage(MOA66) HD
I have another Node called ExperimentMapper it has 3 attributes : - Condition - ExperimentProfile - Dose
I would like to create a Relation between Node Experiment and Node ExperimentMapper when experimentName is the results of the 3 attributes assembled.
I have tried to use Regex but the query was extremely slow and took forever..
Any help?
This is my cypher but it is taking forever despite me creating indexes
MATCH (mxpExperiment:MxpExperiment) OPTIONAL MATCH (otuExperimentMapper:OtuExperimentMapper)
WHERE mxpExperiment.name CONTAINS otuExperimentMapper.Condition
AND mxpExperiment.name CONTAINS otuExperimentMapper.Experiment
AND mxpExperiment.name CONTAINS otuExperimentMapper.dose
CREATE (mxpExperiment)-[:OTU_EXPERIMENT_MAPPER]->(otuExperimentMapper)
RETURN mxpExperiment, otuExperimentMapper