Open garanews opened 6 years ago
Yes, you can add tags by using the following cypher query.
MATCH (m1:Malware) WHERE m1.cluster=64
CREATE (m1) set m1.tag="Turla"
RETURN m1
I'm getting this error:
I have also another question: when new data are be added into db, the cluster id of previous data can change? I noticed that my old 4 nodes cluster (with id:64) now has id: 63....
How about the following cypher query?
MATCH (m1:Malware) WHERE m1.cluster=64
MERGE (m) set m1.tag="Turla"
RETURN m1
Please use the following query to change the cluster id.
MATCH (m1:Malware) WHERE m1.cluster=64
MERGE (m) set m1.cluster=63
RETURN m1
No errors with the first cypher query:
About the second one: why you suggest me that query? I meant if the cluster id is something that can change in the database during the time or if it's a static value.
And can you please suggest me the query to retrieve the tag searching for an hash for example?
Is it possible to add labels or tags to the clusters in Neo4j? Looking at this example and focusing to the cluster with 4 elements: