cancel
Showing results for 
Search instead for 
Did you mean: 

N10s update multivalPropList on a non-empty graph

alex3
Node Link

Hi, I am using neosemantics (n10s) to import various ontologies into my graph.

One issue I have encountered is that I want some properties to be treated as lists (which is solved by setting "handleMultival": "ARRAY" in the config, then setting a "multivalPropList" to specify which properties should be lists).

The problem with this is that the global config cannot be changed once set. So in future when I would like to add more ontologies, how am I to specify new properties which should be multi-valued for it? Would appreciate any help on this!

1 REPLY 1

jesus_barrasa
Graph Fellow

Hi @alex3 

You can modify the GraphConfig by using the force parameter. Something like this:

 
call n10s.graphconfig.set({ multivalPropList: ["http://neo4j.com/voc#prop1","http://neo4j.com/voc#prop2"] , force: true})
 
But make sure that the changes are not breaking ones. That's the reason why by default the config is fixed.