gremlin-server

Gremlin.net textContains equivalent

余生长醉 提交于 2019-12-11 02:08:31
问题 I am using Gremlin.net library to connect to a janus graph server. I am usin cassandra and elasstic search for data storage and indexing. In gremlin language and gremlin console I use textContains to search within the text of a property. I am using Mixed index for that, but I can find the equivalent for that in Gremlin.net Library? can anyone help? 回答1: Gremlin.Net will not have that. TinkerPop doesn't have text or geo search predicates that JanusGraph and other systems have. At this point,

OrientDB Gremlin server not working in python

萝らか妹 提交于 2019-12-10 20:11:31
问题 I am using the orientdb and gremlin server in python, Gremlin server is started successfully, but when I am trying to add one vertex to the orientdb through gremlin code it's giving me an error. query = """graph.addVertex(label, "Test", "title", "abc", "title", "abc")""" following is the Traceback /usr/bin/python3.6 /home/admin-12/Documents/bitbucket/ecodrone/ecodrone/test/test1.py Traceback (most recent call last): File "/home/admin-12/Documents/bitbucket/ecodrone/ecodrone/test/test1.py",

Have both Gremlin-Server AND NEO4J Server running at the same time

人盡茶涼 提交于 2019-12-10 11:18:46
问题 Current it seems we cannot run both Neo4J Server and Gremlin Server at the same time. Is there any way to have run both? NEO4J is running and I try to start to Gremlin Server then I get the following error java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph].......................(truncated) Gremlin Server is running and I try to start NEO4J Server then I get the following error Caused by: org

Why can't I connect to Gremlin-Server?

淺唱寂寞╮ 提交于 2019-12-07 16:10:35
问题 Abstract I'm trying to set up a Titan/Cassandra/Gremlin-Server stack in Docker (v1.13.0). The problem I'm facing is that applications trying to connect to Gremlin-Server on the default port 8182 are reporting errors (details below). First, here is some relevant version information: Cassandra v2.2.8 Titan v1.0.0 (Hadoop 1) Gremlin 3.2.3 Setup Setup takes place in a Dockerfile in order to be reproducible. It assumes that a Cassandra container already exists, running a cassandra.yaml in which

Gremlin-Server Add Vertex with Multiple Properties (Titan 1.0.0)

那年仲夏 提交于 2019-12-07 10:21:55
问题 I'm creating a Titan graph (backed by Dynamodb); I'm using Titan 1.0.0 and running Gremlin-Server 3 (on TinkerPop3). I'm trying to add a vertex to my graph with a label and multiple properties in a single line. I'm able to add a vertex with a label and a single property, and I can add multiple properties to a vertex after it has been created, but it seems that I can't do it all at once. For testing I'm running commands in the gremlin shell, but the end use case is interacting with it via REST

Normal JSON to GraphSON format

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 07:53:00
问题 I have two questions: Where I can actually find the basic format for a GraphSON file, that is guaranteed to be successfully loaded by the gremlin console? I'm trying to convert a JSON (with about 10-20 fields) to another file that can be queried by gremlin but I can't actually find any relevant information about the fields reserved by the graphson format or how I should handle the IDs etc. I exported the modern graph they provide and it's not even a valid JSON (Multiple JSON root elements),

Have both Gremlin-Server AND NEO4J Server running at the same time

杀马特。学长 韩版系。学妹 提交于 2019-12-06 09:29:08
Current it seems we cannot run both Neo4J Server and Gremlin Server at the same time. Is there any way to have run both? NEO4J is running and I try to start to Gremlin Server then I get the following error java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph].......................(truncated) Gremlin Server is running and I try to start NEO4J Server then I get the following error Caused by: org.neo4j.kernel.StoreLockException: Store and its lock file has been locked by another process: /home

Why can't I connect to Gremlin-Server?

大城市里の小女人 提交于 2019-12-05 20:15:28
Abstract I'm trying to set up a Titan/Cassandra/Gremlin-Server stack in Docker (v1.13.0). The problem I'm facing is that applications trying to connect to Gremlin-Server on the default port 8182 are reporting errors (details below). First, here is some relevant version information: Cassandra v2.2.8 Titan v1.0.0 (Hadoop 1) Gremlin 3.2.3 Setup Setup takes place in a Dockerfile in order to be reproducible. It assumes that a Cassandra container already exists, running a cassandra.yaml in which start_rpc has been set to true . The Dockerfile is as follows: FROM openjdk:alpine ENV TITAN 'titan-1.0.0

Gremlin-Server Add Vertex with Multiple Properties (Titan 1.0.0)

六眼飞鱼酱① 提交于 2019-12-05 15:34:54
I'm creating a Titan graph (backed by Dynamodb); I'm using Titan 1.0.0 and running Gremlin-Server 3 (on TinkerPop3). I'm trying to add a vertex to my graph with a label and multiple properties in a single line. I'm able to add a vertex with a label and a single property, and I can add multiple properties to a vertex after it has been created, but it seems that I can't do it all at once. For testing I'm running commands in the gremlin shell, but the end use case is interacting with it via REST api (which is already working fine). As a note, I'm rolling back after each of these transactions so I

Normal JSON to GraphSON format

守給你的承諾、 提交于 2019-12-05 11:58:28
I have two questions: Where I can actually find the basic format for a GraphSON file, that is guaranteed to be successfully loaded by the gremlin console? I'm trying to convert a JSON (with about 10-20 fields) to another file that can be queried by gremlin but I can't actually find any relevant information about the fields reserved by the graphson format or how I should handle the IDs etc. I exported the modern graph they provide and it's not even a valid JSON (Multiple JSON root elements), but a list of JSONs [1] I also saw fields like outE, inE...are these fields something I manually have to