rexster

What are the methods to create indices?

人走茶凉 提交于 2019-12-24 13:18:28
问题 Every example I've been able to find in the Titan documentation creates indices using the Rexster console. You log in to a single Titan node, create your indices and commit. After a while the whole cluster is aware of the index and it can be used. I am wondering if there are other ways to do this. There are some benefits when creating indices from code e.g. in a Rexster extension: I use ENUMs for property keys and edge labels that offer toString methods I can use on index creation. This way

Titan node does not come up

倾然丶 夕夏残阳落幕 提交于 2019-12-24 12:54:02
问题 I have a small Titan 0.5.0 cluster with 8 nodes. Every node runs Titan in Rexster 2.5.0 and Cassandra. They all are configured the same. Unfortunately nearly all the time one of them does not manage to start. In most cases this is one of the seed nodes. Using cassandra as storage backend I get the following in the Rexster/Titan log. WARN com.tinkerpop.rexster.config.GraphConfigurationContainer - Could not open global configuration com.thinkaurelius.titan.core.TitanException: Could not open

OrientDB Gremlin - Retrieve Vertex for a class in gremlin not hitting indexes

妖精的绣舞 提交于 2019-12-22 17:54:21
问题 I'm using OrientDB 2.1.11 and rexster 2.6 and gremlin is the main query language. I use via rexpro (and rexster REST). My issue is: how to get the indexes to hit from gremlin (I must use gremlin not orient sql). I have a vertex class zipcode, which has 1 property zip_code defined in schema and indexed as dictionary: zipcode.zip_code DICTIONARY ["zip_code"] SBTREE But when I query it using gremlin, its slow when records are around >25k (haven't tested with lower numbers). To give proper

OrientDB Gremlin - Retrieve Vertex for a class in gremlin not hitting indexes

我只是一个虾纸丫 提交于 2019-12-22 17:53:15
问题 I'm using OrientDB 2.1.11 and rexster 2.6 and gremlin is the main query language. I use via rexpro (and rexster REST). My issue is: how to get the indexes to hit from gremlin (I must use gremlin not orient sql). I have a vertex class zipcode, which has 1 property zip_code defined in schema and indexed as dictionary: zipcode.zip_code DICTIONARY ["zip_code"] SBTREE But when I query it using gremlin, its slow when records are around >25k (haven't tested with lower numbers). To give proper

possible to connect to multiple neo4j databases via bulbs/Rexster?

大兔子大兔子 提交于 2019-12-21 21:23:51
问题 I would like to be able to specify the neo4j (2.0+) database folder when I open a connection to a graph using bulbs. The goal is to be able to open different or multiple neo4j databases (folders in data/) on the same machine without starting the neo4j server. This works with the Gremlin console. I suspect the route to doing this with bulbs would be to use the bulbs Rexster client (http://bulbflow.com/docs/api/bulbs/rexster/client/) and somehow automatically start a Rexster server pointing to

titan rexster with external cassandra instance

£可爱£侵袭症+ 提交于 2019-12-13 21:32:51
问题 I have a cassandra cluster (2.1.0) running fine. After installing titan 5.1, and editing the titan-cassandra.properties to point to cluster hostname list rather than localhost, i run following - titan.sh -c conf/titan-cassandra.properties start It is able to recognize running cassandra instance, starts elastic search, but times out while connecting to rexster. If i run it with local cassandra, everything runs fine using following ->br> titan.sh start do i need to make any change in rexster

How to Create and Delete edge properties (Titan 1.0) using c# in .net mvc?

僤鯓⒐⒋嵵緔 提交于 2019-12-11 07:59:10
问题 I was using Titan 1.0 with gremlin server to create and delete vertex. I want to implement this logic in my .net project. I wonder if there is any pre build plugin for titan and gremlin server in asp.net? Currently i'm directly using command prompt to create and delete the required vertices and edges. how can I implement it in my .net MVC project? 回答1: I've created one class in my project for interacting with Gremlin server using REST API. you can make small changes to make it work for you.

RexProScriptException transaction is not open in Django with Titan (graph DB)

一个人想着一个人 提交于 2019-12-08 16:03:46
问题 I have stuck with my TitanDB, Django1.8 and Mogwai0.7.7 package. I have Graph database titan/cassandra on localhost dev machine, and after creating wrong queries in rexster gremlin web interface my Django Object Graph Mapper mogwai stopped to work. Titan is still working and data are present but Django stopped to work with it. File "/Users/x/envs/graph/lib/python2.7/site-packages/rexpro/connectors/base.py", line 281, in close_transaction raise exceptions.RexProScriptException("transaction is

OrientDB Gremlin - Retrieve Vertex for a class in gremlin not hitting indexes

十年热恋 提交于 2019-12-06 05:08:25
I'm using OrientDB 2.1.11 and rexster 2.6 and gremlin is the main query language. I use via rexpro (and rexster REST). My issue is: how to get the indexes to hit from gremlin (I must use gremlin not orient sql). I have a vertex class zipcode, which has 1 property zip_code defined in schema and indexed as dictionary: zipcode.zip_code DICTIONARY ["zip_code"] SBTREE But when I query it using gremlin, its slow when records are around >25k (haven't tested with lower numbers). To give proper context, I try to find the zipcode first, if it doesn't exist then I create the vertex for later use. Find

TITAN : Gremlin query returns inconsistent results on repeated execution

元气小坏坏 提交于 2019-12-05 19:41:01
I am running REXSTER/TITAN 0.4 over cassandra and uses gremlin for traversals. I ran below gremlin query in Rexster Doghouse Gremlin console. Vertex 92 was deleted earlier, since it was a duplicate vertex with same key ("eddy.com") But when I am querying, I am getting that vertex sometimes, and sometimes not . This is running in local dev machine, means no other threads or parallel task is running/updating this vertex in between. Am I missing any configuration/settings here? is this a bug? please help! gremlin> g.V('domain','eddy.com') ==>v[88] gremlin> g.V('domain','eddy.com') ==>v[88] ==>v