[orientdb] Re: delete vertex not working with out where

2015-08-11 Thread ropeladder
Thanks--I just tried this and Orient accepts the query, but it still gives me an OutOfMemoryError: GC overhead limit exceeded eventually. On Monday, August 10, 2015 at 8:46:32 AM UTC-4, alessand...@gmail.com wrote: Hi, try to use DELETE VERTEX MyVertex LIMIT 100 instead of DELETE VERTEX

[orientdb] Is there someone is planning to contribute hibernate-ogm?

2015-08-11 Thread Хүрэлхуяг Магсар
If don't know about hibernate-ogm. please visit this page http://hibernate.org/ogm/ and I created issue for orientdb support https://hibernate.atlassian.net/browse/OGM-855 -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from

[orientdb] Re: Correct syntax for property filter on edge?

2015-08-11 Thread Giulia Brignoli
Hi. try this: select expand(outV('myEdge')) from (select expand(inE('myEdge')[myProperty= true]) from myVertex) Regards, Giulia -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop receiving emails from

[orientdb] Re: Hook or default?

2015-08-11 Thread Charles Munat
I did that and managed to get it working. A slug is used in a URL to identify a resource, usually by traincasing its name, e.g., /cool-blog-post-2015-07-31. It makes for a better, more aesthetic, and human-readable URL compared to using UUIDs. Chas. On Tuesday, August 11, 2015 at 5:59:07 AM

[orientdb] Re: Can't find sample database when logged into root user

2015-08-11 Thread SavioL
Hi Stephanie, which versione of orientb are you using? regards, Savio L. -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop receiving emails from it, send an email to

[orientdb] Re: Orient DB :OSQLSynchQuery

2015-08-11 Thread alessandrorota04
Hi, I try your code and I think that the problem is (IterableVertex) txGraph.command(cmd1).execute(). When you use this instruction for the first time it works, but if you use it a second time it doesn't works. Try using the command once and convert IterableVertex in ListVertex and after you

Re: [orientdb] Changing cluster name

2015-08-11 Thread Enrico Risa
Hi Pradeep you can change the group name in the file hazelcast.xml in the config directory. Enrico 2015-08-10 22:52 GMT+02:00 Pradeep B K pradeepb...@gmail.com: Hi All, I am unable to join two nodes into a cluster because of different cluster name (1st node is orientDB and 2nd is

Re: [orientdb] OrientDB JDBC OpenSQLConnection in Mathematica : Execution of SQL failed

2015-08-11 Thread Luigi Dell'Aquila
Hi Athanassios, just answered on Mathematica StackExchange 2015-08-03 19:49 GMT+02:00 Athanassios Hatzis athan...@gmail.com: Hi, I am trying to execute SQL commands from inside Mathematica Notebook. I could do this using REST API but JDBC is a more direct method. So I have tried to open a

[orientdb] Re: Index is not being updated after insert

2015-08-11 Thread SavioL
Hi Ran, I tried your sql script and it works (at the beginning I had a mistake because in the insert command and select the id field is written upper case, and in the declaration of the id field was written lowercase, never mind this is not the problem :) .. In your log file (OrientDB folder /

[orientdb] Re: ODatabaseRecordThreadLocal and multiple/single database instance(s) in single-threaded application

2015-08-11 Thread Alicia Lobo
No answer at all? On Friday, July 24, 2015 at 3:15:04 PM UTC+2, Alicia Lobo wrote: It gets even better: I'm getting the following exception: com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage 'ow' with mode=rw at

[orientdb] Re: fetching external data

2015-08-11 Thread Adam Hunt
While I've never used Rethink I can imagine more than a few real world use cases where this functionality would be useful. On Sunday, August 9, 2015 at 9:22:24 AM UTC-7, samp...@gmail.com wrote: Is there an equivalent to the r.http command in rethinkdb for orientdb?

Re: [orientdb] Is the GratefulDeadConcerts DB corrupted in 2.1?

2015-08-11 Thread Luigi Dell'Aquila
Hi Wes, yes, your concern is actually right, next hotfix release will come with a fixed version of GratefulDead db. Thanks for reporting Luigi 2015-08-05 18:38 GMT+02:00 Wes Arnquist wesarnqu...@gmail.com: Thanks for the response. I tried what you suggested and it worked, however my

Re: [orientdb] How can I improve batch write performance?

2015-08-11 Thread Luigi Dell'Aquila
Hi, a few questions, just to understand: - are you connecting in plocal or remote? - what kind of indexes did you define? Thanks Luigi 2015-08-05 10:54 GMT+02:00 김제준 dosa...@gmail.com: Hi there! I'm Using orentdb 2.0.13 and batch write with Spring batch. I'm using 1 Vertex with 4

[orientdb] Re: Index is not being updated after insert

2015-08-11 Thread Ran Mizrachi
I just tried the same test on another machine and it worked as expected. It makes me think there some environment issue or configuration value that cause this behavior but I couldn't find anything... There is nothing on the logs either. Can you think of anything else? Thanks! On Monday,

[orientdb] Re: Aggregating weights, and random walk

2015-08-11 Thread alessandrorota04
Hi Josh, for the second question you can use a server-side function like this var g=orient.getGraph(); var query=select name, sum(weigth) from (select weigth,inV().name as name from (select expand(outE('metadata_of')); query+= from (select from Document where name in + names + ))) group by

[orientdb] Documents: Is JSON the only possible serialization?

2015-08-11 Thread Adam Hunt
The way I understand things, OrientDB is only capable of storing, parsing, and relating JSON formatted data. While I generally prefer JSON to other serizations is there any intrinsic reason that formats like XML or YAML couldn't be supported? Thanks, Adam -- --- You received this message

[orientdb] Re: Take 10 in a sorted collection (beginner)

2015-08-11 Thread Giulia Brignoli
Hi Ronie. Try this query: select expand(inV('haveWord')) from (select expand(inE('haveWord')) from Word order by weight desc) limit 10 Regards, Giulia -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop

[orientdb] Lightweight Edges docs confusion.

2015-08-11 Thread Gongdo Gong
The docs( http://orientdb.com/docs/last/Lightweight-Edges.html ) say, so if you already have one edge between two vertices and you're creating a new edge between the same vertices, the second edge will be regular What 'will be regular' exactly means? I created lightweight-edges between

[orientdb] Take 10 in a sorted collection (beginner)

2015-08-11 Thread Ronie Uliana
Sorry if this is too basic :( I have this schema: (*Document*) 1-- *HaveWord* (weight:) --N (*Word*) (one document can have multiple words, every word has a weight in this document) What is the correct SQL to get the *first 10 heaviest word for each document*? The best I could get was

Re: [orientdb] Caching for REST API

2015-08-11 Thread Luigi Dell'Aquila
Hi, the answer is yes to both questions. Every request owns its db connection, that has its instance of 1st level cache. Disk Cache is a single shard instance and all the records pass from there, before being dispatched to the client. Luigi 2015-08-06 10:43 GMT+02:00 Omega Silva

[orientdb] Re: Aggregating weights, and random walk

2015-08-11 Thread Josh Harrison
Super, thanks Alessandro! On Tuesday, August 11, 2015 at 3:17:35 AM UTC-7, alessand...@gmail.com wrote: Hi Josh, for the second question you can use a server-side function like this var g=orient.getGraph(); var query=select name, sum(weigth) from (select weigth,inV().name as name from

[orientdb] OrientDB with Spring Data

2015-08-11 Thread Luca Garulli
Howdy, If you are interested on using OrientDB from Spring Data, today you have 2 options: 1. OrientDB Spring Data module: https://github.com/orientechnologies/spring-data-orientdb and 2. Spring Data Gremlin, by Graham Webber, https://github.com/gjrwebber/spring-data-gremlin Anybody

Re: [orientdb] Re: master, replica distributed role IllegalStateException

2015-08-11 Thread defmikekoh
I did the same process without modifying the default-distributed-db-config.json which worked. So more specifically, 2 instances, ubuntu 14.04 - On both, install ubuntu 14.04, install Oracle Java 1.8.0_51 64bit - On both, extract orientdb-community-2.1.1-20150809.182628-3-distribution.tar.gz

Re: [orientdb] How to properly index edges?

2015-08-11 Thread Sven Hodapp
Hi Savio, is OrientDB’s intersect algorithm optimized, like the one in Lucene? E.g. using skip lists for fast intersection? For that kind of query are no other efficient ways possible with real graph-queries? (Especially to overcome input sensitive intersections) Is there a optimal way to

Re: [orientdb] Re: master, replica distributed role IllegalStateException

2015-08-11 Thread Luca Garulli
Hi, So the problem was in default-distributed-db-config.json file? Best Regards, Luca Garulli Founder CEO OrientDB http://orientdb.com/ On 11 August 2015 at 19:45, defmike...@gmail.com wrote: I did the same process without modifying the default-distributed-db-config.json which worked. So

Re: [orientdb] Re: master, replica distributed role IllegalStateException

2015-08-11 Thread defmikekoh
The unmodified default-distributed-db-config.json works (i.e. without replica role enabled). { autoDeploy: true, hotAlignment: false, executionMode: undefined, readQuorum: 1, writeQuorum: 2, failureAvailableNodesLessQuorum: false, readYourWrites: true, servers: { *: master

Re: [orientdb] Re: master, replica distributed role IllegalStateException

2015-08-11 Thread Luca Garulli
Ok, this is definitely a bug. Just opened https://github.com/orientechnologies/orientdb/issues/4775 to track it. Best Regards, Luca Garulli Founder CEO OrientDB http://orientdb.com/ On 11 August 2015 at 21:13, defmike...@gmail.com wrote: The unmodified default-distributed-db-config.json

Re: [orientdb] Re: master, replica distributed role IllegalStateException

2015-08-11 Thread Luca Garulli
Fixed in last 2.1.x and develop branches, respectively 2.1.1-SNAPSHOT and 2.2.0-SNAPSHOT. Thanks for reporting it. Best Regards, Luca Garulli Founder CEO OrientDB http://orientdb.com/ On 12 August 2015 at 01:52, Luca Garulli l.garu...@orientdb.com wrote: Ok, this is definitely a bug. Just

[orientdb] Re: WrongTargetException

2015-08-11 Thread Pradeep B K
Still no use. It's been 2 weeks and I am not able to configure distributed nodes Can someone please help me to setup nodes using unicast? On Friday, August 7, 2015 at 4:26:28 AM UTC-7, Pradeep B K wrote: Can someone please explain me the reason behind below exception? It's been a week