Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 1.6 released - dzone.com/6S4K
The Neo4j Heroku Challenge - http://neo4j-challenge.herokuapp.com/
Thanks Peter. Any burps or was it smooth? Also, did you remove your dependency on TinkerPop <repository>? (I'm loving the Central Repo).
Marko.
Yup,
Was smooth except package changes. Repo entry is gone :-)
Send from a device with crappy keyboard and autocorrection.
/peter
> Simple question : I saw in the Blueprints 1.2 version there is some added method support for named graphs in SailGraph. How does it take place ? Is it linked to the PartitionGraph ?
The SailGraph update was simple methods that go above and beyond the Edge API.
SailEdge.getNamedGraph()
SailEdge.setNamedGraph()
SailEdge.hasNamedGraph()
...and then there was a bug around this that I found that was not exposed in any tests (I forget what is was, but something NullPointerException-wise).
So, nothing too big, but to answer you question, yes, you can partition your SailGraph with named graphs just like PartitionGraph. In fact, the ideas behind PartitionGraph are taken from the named graph concept in the N-Quad RDF model.
I hope that explains it,
Marko.
Nikhil,
Feel free to give me a select() Gremlin gist and i will put it into the examples.
Send from a device with crappy keyboard and autocorrection.
/peter
Gremlin.defineStep('ngFilter', [SailVertex, Pipe], { def namedGraphs -> _().filter{ if (namedGraphs) {namedGraphs.contains(it.ng)} else {true} } })
Then, the searches are polluted by this step all the time. Could there be a better way ?
Is it working out for you on master?
Send from a device with crappy keyboard and autocorrection.
/peter