OrientDB

How Gremlin query same sql like for search feature

喜你入骨 提交于 2019-12-03 13:52:35
Im using OrientDB type graph. I need syntax of Gremlin for search same SQL LIKE operator LIKE 'search%' or LIKE '%search%' I've check with has and filter (in http://gremlindocs.com/ ). However it's must determine exact value is passed with type property. I think this is incorrect with logic of search. Thanks for anything. Daniel Kuppitz Try: g.V().filter({ it.getProperty("foo").startsWith("search") }) or g.V().filter({ it.getProperty("foo").contains("search") }) You can use filter with a bit of regex: gremlin> g = TinkerGraphFactory.createTinkerGraph() ==>tinkergraph[vertices:6 edges:6]

Is it possible to work with OrientDB using C#?

冷暖自知 提交于 2019-12-03 12:09:16
Are there any implementations, api or examples of OrientDB and C#. The reason I am looking at OrientDB is becuase it's the only one that I found that is a combination of Graph and Document. Any suggestions on how I should try this. My next choice is RavenDB, but I am not sure if it supports joins or linked documents? Any thoughts... I just developed a first version of a REST client for OrientDB. http://netorientdb.codeplex.com Roman Gordon OrientDB has an official binary driver for .NET look here http://orientdb.com/docs/3.0.x/ Example of usage OrientDB-NET.binary string release = OClient

How to use OrientDB in a SailsJS App

匿名 (未验证) 提交于 2019-12-03 10:10:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am new to NodeJS and SailsJS, was working with Rails or PHP before. I want to use SailsJS together with OrientDB. What would be the best approach? I found two options so far, but the amount of information isn't that great (yet). Go with Waterline and this sails adapter for orientdb Go one level deeper and use the binary adapter from nodejs Any help, tips, hints would be greatly appreciated. I am a bit lost but very excited to understand more about these great tools. Thanks! 回答1: You probably have figured out the answer by now but for

OrientDB ETL Edge transformer 2 joinFieldName(s)

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: with one joinFieldName and lookup the Edge transformer works perfect. However, now two keys is required, i.e. compound index in the lookup. How can two joinFieldNames be specified? This is the scripted(post processing) version: Create edge Expands from (select from MC where sample=1 and mkey=6) to (select from Event where sample=1 and mcl=6) . This works, but is not suitable for production. Can anyone help? 回答1: you can simply add 2 joinFieldName(s) like { "edge": { "class": "Conn", "joinFieldName": "b1", "lookup": "A.a1", "joinFieldName":

OrientDB GraphED - SQL insert edge between two (select vertex RID)s? Or alternative approach for very large import

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For example, two simple vertices in an OrientDB Graph: orientdb> CREATE DATABASE local:/databases/test admin admin local graph; Creating database [local:/databases/test] using the storage type [local]... Database created successfully. Current database is: local:/graph1/databases/test orientdb> INSERT INTO V (label,in,out) VALUES ('vertexOne',[],[]); Inserted record 'V#6:0{label:vertexOne,in:[0],out:[0]} v0' in 0.001000 sec(s). orientdb> INSERT INTO V (label,in,out) VALUES ('vertexTwo',[],[]); Inserted record 'V#6:1{label:vertexTwo,in:[0],out

Is Spring Data OrientDB production-ready?

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a spring project and I would like very much to use Spring Data OrientDB, is it production ready? or should I just use Graph API or blueprints? 文章来源: Is Spring Data OrientDB production-ready?

MongoDB + Neo4J vs OrientDB vs ArangoDB [closed]

旧街凉风 提交于 2019-12-03 01:53:39
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . I am currently on design phase of a MMO browser game, game will include tilemaps for some real time locations (so tile data for each cell) and a general world map. Game engine I prefer uses MongoDB for persistent data world. I will also implement a shipping simulation (which

OrientDB 3.0.4 Console EMBEDDEDLIST CREATE VERTEX

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: It appears that console application in OrientDB 3.0.4 is not backward compatible with OrientDB 3.0.2 for creating Vertex having EMBEDDEDLIST. Following Query fails in OrientDB 3.0.4 console: CREATE VERTEX Profile SET name = "John", phone = [{ "@type":"d", "number" : "212" }] How can I resolve the issue? What are the changes for v3.0.4 and where can I find updated documentation? OrientDB console v.3.0.2 - Veloce (build e47e693f1470a7a642461be26983d4eca70777fd, branch develop) OrientDB console v.3.0.2 - Veloce (build

Tinkerpop 3.1 on OrientDB?

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: is there any way to run Tinkerpop Gremlin 3.1 traversals in OrientDB? I've noticed that currently the DBMS supports the previous version (2.x) of the Tinkerpop traversal language which, for example, only allows to directly filter edges by label, but not vertices :( . I was quite satisfied with gremlin-scala and orientDB-gremlin but I found that not all my queries where efficiently executed (some indexes were ignored). Is there any other way? Thanks in advance :) 回答1: Orientdb-gremlin is indeed the only available driver, and while it works

OrientDB Gremlin server not working in python

匿名 (未验证) 提交于 2019-12-03 00:56:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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", line 27, in <module> result = execute_query("""graph