Is it possible to configure SSL with PEM certificate types?
keyStoreType
and trustStoreType
either JKS or PKCS12 format: https://tinkerpop.apache.org/javadocs/current/full/org/apache/tinkerpop/gremlin/server/Settings.SslSettings.html
Is this true? Is there any way for us to configure SSL with PEM format certificates?...Query works when executed in console but not in javascript
Very slow regex query (AWS Neptune)
TextP.regex()
expression. We are observing very bad query performance; even after several other optimizations, it still takes 20-45 seconds, often timing out.
Simplified query:
```
g.V()...To get a performant query for partial text matches the suggestion is to use the Full Text search integration (https://docs.aws.amazon.com/neptune/latest/userguide/full-text-search.html) , which will integrate with OpenSearch to provide robust full text searching capabilities within a Gremlin query...
How can we extract values only
g.V().project('Latitude', 'Longitude').by('lat').by('lon').math(...)
. You would replace the ... in the math() step with the Haversine formula.
2. If you want to keep these as two separate queries, then you should use one of the Gremlin Languages Variants (GLVs) which are essentially drivers that will automatically deserialize the result into the appropriate type so you don't have to deal with the GraphSON (which is what your initial post shows). Read triggan's answer above for more details about that....How to speed up gremlin query
I read that I should create a composite index to improve speed and performance or something of that sort, but I am unfamiliar with how to do that in Python.as a point of clarification around indices, you wouldn't likely do that step with python. you typically use gremlinpython just to write Gremlin. For index management, you need to use JanusGraph's APIs directly. often those are just commands you would execute directly in Gremlin Console against a JanusGraph instance....
logging and alerting inside a gremlin step
Shell flight created for paxKey ${paxKey} with flightId ${flightLegID}
))
...Optimizing connection between Python API (FastAPI) and Neptune
## Breadth-First Traversal Fact Check
repeat()
is executed via the query hint as noted here: https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-query-hints-repeatMode.htmlHow to find the edges of a node that have a weight of x or greater?
g.V().has("person", "name", "A").out(...
returns Vertices
to get edges need to use outE()
something like
a_friends = g.V().has("person", "name", "A").outE("is friends with").has("weight", P.gt(0.75)).inV().to_list()
...op_traversal P98 Spikes
fold().coalesce(unfold(),...)
style "get or create" based vertex mutations....
neo4j-gremlin not working with JDK17
Neo4jGraph
fails to start with top-level error like:
Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactorywith causes like:
Suppressed: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.scheduler.CentralJobScheduler@5906ebfb' failed to transition from stopped to shutting_down. Please see the attached cause exception "Exception java.lang.LinkageError: Could not get Throwable message field [in thread "main"]"and:...
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED...
I am unsure on how to use Python to add graphs to JanusGraph
Optimising python-gremlin for fastApi
C# Profiling Duration
await client.SubmitWithSingleResultAsync<Object>("g.V().profile().toList().toString()");
...Expecting java.lang.ArrayList/java.lang.List instead of java.lang.String. Where am I going wrong?
Map
or List
so that may be a blocker for you
2. multi-properties aren't List
- they are multiple values stored under the same property key, so those semantics may be a blocker for you
3. Gremlin has no steps that can help you detect a type. Whatever type detection you would do, it would have to happen in the client application (technically what you are doing when you call next()
and class
) which may be a blocker for you.
4. Using just Gremlin It's hard to detect if you are using multiproperties or not because it has no knowledge of the schema. Maybe you could consult JanusGraph for the schema for the types. Counting properties of a key doesn't really work either because you could have a key with just one property and it still could be a multiproperty (with just one value)....Is NoHostAvailableException losing/not including relevant error context (3.7.0 above)?
Invalid handshake response getStatus: 403 Request originated from IP 213.31.211.185 through public internet. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden
Invalid handshake response getStatus: 403 Request originated from IP 213.31.211.185 through public internet. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden
NoHostAvailableException
since 3.5.5: https://tinkerpop.apache.org/docs/current/upgrade/#_gremlin_driver_host_availability Since that time there is really only one way that an NHA is thrown: if the connection pool cannot initialize a connection to any host. we are selective in what exceptions are raised within the NHA because there are cases where the exception can be more confusing than helpful. in this case, we weren't including handshake exception...Setting index in gremlin-python
.open()
. I don't know how better is performance when having index on 'userId' but my code simply takes too long go through queries from vote file.
I tried using client functionality
```py
ws_url = 'ws://localhost:8182/gremlin'...Anyone had issues with gremlinpython driver async_timeout?
Dynamically calculated values from last vertex to select outgoing edges for further traversal
Window functions in gremlin
SELECT ass.id, fin.id, ...