Parameterized edges creation in existing graph
has()
steps cannot currently take a traversal as an argument. It's listed as a roadmap item for a future TinkerPop 4.x release: https://github.com/apache/tinkerpop/blob/087b3070914123055d3e4ededc2550f12715a0b4/docs/src/dev/future/index.asciidoc#has-traversalNeo4j Chypre convention in to gremlin query
``
MATCH (from:
Person {title: "John"}), (to:
Location` {title: "New York City"})
MATCH p = (from)-[rel*..5]->(to)...How to Work with Transactions with Gremlin Python
multiprocessing
to create separate processes. They can share a connection pool to Neptune if you so choose. The number of parallel processes should equal the number of query execution threads available on your Neptune writer instance (which is equal to 2x the number of vCPUs on whatever size instance you're using).
If you follow those guidelines, you should get similar performance to what you would see with Neptune's bulk loader. Note that conditional writes will have overhead. If using mergeV()
, you're unlikely to see the same write throughput as Neptune's bulk loader as the bulk loader is not doing conditional writes....
mergeV with onMerge when extra properties are unknown
Using java/gremlin inside python with Jpype!
Sqlg
. It seems a very easy and powerful way to give python code full access to the any java api. In my case I am making SqgGraph
available to python. It is about 5 lines of setup code and voila, the python code has the same functionality as native java.
Does anyone use Jpype, anything caveats I should know about?...Structure Test Suite - Test Data Types and Serialization Types Don't Match?
Lists
, since when GLVs serialize property values of type array or list they come in as an ArrayList
.
However, the structure test suite, namely PropertyTest
, sends the property value type directly to the graph as int[]{1, 2, 3}
for example which breaks our Graph since we only expected ArrayList
due to the expectation of serialization....What's the significance of done: false ? (after calling .next())
Profiling Neptune from javascript
select T.id + optional properties
select().by
does not work as it filters out not productive
properties.
Here is the sample graph I am testing this on.
...Is there a way to specify a query execution timeout via the GremlinLangScriptEngine?
ScriptEngine
implementations in that it operates in the current thread without interrupt. we'd wrapped the GremlinScriptEngine
up into the GremlinExecutor
to try to generalize behavior for timeouts and Future
based execution. you would have to use that class to get that sort of behavior and avoid direct use of the GremlinLangScriptEngine
directly.What algorithms exist for this hypergraph data structure?
Basic vertex querying does not work in Amazon Neptune but it works with local Gremlin Server
await this.gremlinService.readClientSource.V().elementMap().toList()
will return an Array of Maps.
JSON.stringify()
, which NestJS is likely calling for you, doesn't support Maps so you need to convert them into objects using something like Object.fromEntries()
....CollectingBarrierStep bug
pymogwai
Naming multiple vertices
Possibilities to improve performance on query?

Neptune Cluster Balancing Configuration

[Bug] clone query affects original cloned query
process
to gProcess
as it's a global variable in Nodejs...Neo4j news
Confusing behavior of `select()`.