Monday, 7 February 2022

JanusGraph: implicit schema generation

If you do not explicitly model the schema for labels, properties, JanusGraph implicitly define the schema when it first encounter the edge label, vertex label and properties.

 

a.   implicitly created edge labels have multiplicity MULTI and

b.   implicitly created property keys have cardinality SINGLE.

 

Can I control automatic schema generation?

Yes, you can control by implementing and registering your own DefaultSchemaMaker.

 

As per the documentation, It is highly recommended to explicitly define all the schema elements and disable automatic schema creation by setting schema.default=none in the JanusGraph graph configuration.

 

Previous                                                 Next                                                 Home

No comments:

Post a Comment