Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
26 views

OrientDB v3.2.21 - No more resources available in pool (max = 50)

I'm upgrading from OrientDB v2 with Tinkerpop 2.0 to OrientDB v3.2.21 with the Tinkerpop 3.0. In OrientDB v2, I've always use the OrientGraphFactory with setupPool(1, 50). However, in OrientDB v3, if ...
liyang's user avatar
  • 25
0 votes
1 answer
36 views

How to rewrite OrientDB query to Gremlin (TinkerPop)?

I have simple OrientDB query MATCH {class:SomeObj, as:obj, Where:( (outE('SomeEdge')[in=#74:2].StringValue="STRINNNGGG") and (outE('SomeEdge')[in=#75:2].NumberValue=333) ...
yasuro's user avatar
  • 23
0 votes
0 answers
392 views

Load RDF file to OrientDB using Apache tinkerpop gremlin

I'm using OrientDB with gremlin server (https://s3.us-east-2.amazonaws.com/orientdb3/releases/3.1.1/orientdb-tp3-3.1.1.zip) and my requirement is to load a RDF file to orientDB. I'm using rdflib ...
im_nawaj's user avatar
1 vote
1 answer
227 views

How to drop a subgraph in Tinkerpop (OrientDB) gremlin query?

Requirement is to drop this subgraph if I have runId and appId. Application can have multiple such appId and thus should be deleted only if no appId is attached to it. I have tried the below query to ...
CtrlV's user avatar
  • 115
0 votes
1 answer
823 views

Orientdb connection issue while connecting remote server

I am using tikerpop orient API, its working fine on local but when I try to connect remote IP, it get failed. OrientGraphFactory factory = new OrientGraphFactory("remote:12.34.567.89:2480/demodb", "...
chaitanya anpat's user avatar
1 vote
0 answers
179 views

TInkerpop GraphTraversal: hasNext never return when searching shorter path

I'm trying to get the shorter path between 2 verticles with ignoring some verticles. My request is made on a graph database OrientDB. GraphTraversal<Vertex, Path> allPath = // execution of my ...
Guinaume's user avatar
0 votes
1 answer
132 views

Finding subgraph from a graph in OrientDb

This is my graph [Person] -livesIn-> [City] [Factory] -locatedIn-> [City] [Person] -worksAt-> [Factory] How do I find people who have to travel far for work. i.e. "People working at at ...
raj's user avatar
  • 3,811
0 votes
2 answers
93 views

Identifying if 2 Vertices are connected with edge using Orientdb 3 and tinkerpop 3

I have been trying to look through documentation. I am just trying to find a simple example to identify as mentioned in the title if 2 vertices are connected to each other. This is for OrientDB 3 ...
doubleace3's user avatar
2 votes
3 answers
757 views

Connect to OrientDB with the Gremlin javascript driver

I'm struggling to find an example using the current gremlin javascript driver with OrientDB. I can't get it to connect to OrientDB (already using the tinkerpop enabled version). My sample code looks ...
Greg's user avatar
  • 21
0 votes
1 answer
203 views

Java Gremlin API traverse in OrientDB

I have a question about using the Gremlin API with Java in OrientDB. So, I created a GremlinPipeline object, from this pipe object I want to jump to the next vertices: GremlinPipeline pipe = new ...
nuwuwa's user avatar
  • 103
1 vote
1 answer
407 views

Finding vertices with exact edge matches traversing through children

My setup: I'm using OrientDB with a large graph of People vertices. I'm using the gremlin java driver to access this database since I would like to eventually switch to a different graph database ...
Mike's user avatar
  • 546
0 votes
1 answer
172 views

How to query/search/retrieve an Edge with a pair of Vertices in OrientDB using Java API?

I'm developing a web application using OrientDB and the Java API. I have discovered that it is creating (ie. saving) duplicate Edges with the same Vertices. How do I query whether an Edge exist (for ...
ikevin8me's user avatar
  • 4,303
1 vote
1 answer
463 views

OrientDB Graph API: process results of SQL query

I'm exploring ways of interacting with OrientDB graphs. I'm writing java code, so I'm using some kind of java API. Since tinkerpop is described as the "JDBC" of graph databases, I naively assumed ...
Tom Quarendon's user avatar
0 votes
2 answers
178 views

How to use graph database for reputation diffusion?

I have a problem which seems to be a good fit for a graph database, but I'm uncertain of the best way to apply it. First there is a set of objects which can have directional links (a few tens of ...
Alex I's user avatar
  • 20.1k
0 votes
1 answer
108 views

dijkstra function of orientdb is not working with tinkerpop API

The below code is not giving the correct result, am I doing something wrong..? OrientGraph graph = factory.getTx(); for (OrientVertex v : (Iterable<OrientVertex>) graph.command( ...
Chinnadurai_V's user avatar

15 30 50 per page