[OrientGraph] Open graphdb with local engine by default

43 views
Skip to first unread message

Pierre De Wilde

unread,
Jul 31, 2011, 1:06:12 AM7/31/11
to gremli...@googlegroups.com
Hi Luca,

For consistency with other Blueprints implementations, it would be great to open OrientDB graphs with local engine by default (when the engine is not specified).

gremlin> g = new OrientGraph('../data/orient/tinkergraph')  
Error in database URL: the engine was not specified. Syntax is: <engine>:<db-type>:<db-name>[?<db-param>=<db-value>[&]]*. URL was: ../data/orient/tinkergraph
Display stack trace? [yN] 
gremlin> g = new OrientGraph('local:../data/orient/tinkergraph') 
==>orientgraph[local:../data/orient/tinkergraph]

Thanks,
Pierre

Luca Garulli

unread,
Jul 31, 2011, 8:15:35 AM7/31/11
to gremli...@googlegroups.com
Hi Pierre,
If no engine is specified, "local" is the default. The fix I pushed here waiting it's part of master Blueprints repository:


Lvc@

Pierre De Wilde

unread,
Jul 31, 2011, 8:24:14 AM7/31/11
to gremli...@googlegroups.com
Great. Thanks, Luca.

Pierre

2011/7/31 Luca Garulli <l.ga...@gmail.com>
Reply all
Reply to author
Forward
0 new messages