Re: [orientdb] Delete Related Link/LinkSet When Deleting Child

2015-08-11 Thread Luigi Dell'Aquila
Hi Bill,

there is a command called FIND REFERENCES (
http://orientdb.com/docs/last/SQL-Find-References.html) that does the
trick. Take into consideration that it does a full scan of the database,
because there is no other way to find link references, so it can take ages
to finish on large datasets.

I suggest you to adopt one of the following approaches when using links:
1) use only schemaful link properties and create indexes on them, this way
you will always know where links can be and you will have a quick way to
query them
2) replace links with edges (graph model): they are bi-directional, so edge
removal is a very cheap operation, automatically managed by the db engine

Thanks

Luigi


2015-08-06 15:24 GMT+02:00 Bill Blondin :

> When deleting a record that is pointed to by various related
> LINK/LINKSET/LINKLIST pointers, what's the best way to delete those
> pointers, as they will no longer be valid?
>
> From the scope of the record being deleted, there doesn't appear to be an
> obvious way to determine what records are pointing to it, in order to
> remove those pointers.
>
> Bill
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 I am breaking my head to setup distributed nodes and 
> every time I get below exception on random nodes. I have 4 nodes in lab and 
> all the nodes are reachable. I see below exception on every node.
>
>
> 2015-08-07 04:08:35:566 WARNI [10.0.20.55]:2434 [orientdb] [3.3.5] Op: 
> com.hazelcast.queue.impl.PollOperation@5fa7dee4, 
> com.hazelcast.spi.exception.WrongTargetException: WrongTarget! 
> this:Address[10.0.20.55]:2434, target:Address[10.0.20.193]:2434, 
> partitionId: 75, replicaIndex: 0, operation: 
> com.hazelcast.spi.impl.WaitNotifyServiceImpl$WaitingOp, service: 
> hz:impl:queueService [WaitNotifyServiceImpl$WaitingOp]
>
>
> Any help would be greatly appreciated. 
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
> MyVertex BATCH 100".
>
> Alessandro
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 


On 12 August 2015 at 01:52, Luca Garulli  wrote:

> 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 
>
>
> On 11 August 2015 at 21:13,  wrote:
>
>> 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"
>>   },
>>   "clusters": {
>> "internal": {
>> },
>> "index": {
>> },
>> "*": {
>>   "servers": [""]
>> }
>>   }
>> }
>>
>>
>> Enabling the replica role like below and shown at
>> https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Forientechnologies%2Forientdb%2Fissues%2F3772&sa=D&sntz=1&usg=AFQjCNGUPw8mYKa3GfIN3Sc5nvSXMvUZtQ
>> results in java.lang.IllegalStateException on testnode2 after the db
>> autodeploys.
>>
>> {
>> "autoDeploy": true,
>> "hotAlignment": false,
>> "offlineMsgQueueSize" : 0,
>> "readQuorum": 1,
>> "writeQuorum": 2,
>> "failureAvailableNodesLessQuorum": false,
>> "readYourWrites": true,
>> "servers": {
>>   "testnode1" : "master",
>>   "*": "replica"
>>  },
>> "clusters": {
>> "internal": {
>> },
>> "index": {
>> },
>> "*": {
>> "servers" : [ "" ]
>> }
>> }
>> }
>>
>>
>> On Tuesday, August 11, 2015 at 11:47:09 AM UTC-7, l.garulli wrote:
>>>
>>> Hi,
>>> So the problem was in default-distributed-db-config.json file?
>>>
>>> Best Regards,
>>>
>>> Luca Garulli
>>> Founder & CEO
>>> OrientDB 
>>>
>>>
>>> On 11 August 2015 at 19:45,  wrote:
>>>
 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 
 (which
 includes GratefulDeadConcerts db).

 - On both, modify hazelcast.xml as shown in your example (i.e. 2
 manually specified ips)

 - On first instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin .
 Then, ./dserver.sh . specify a root password. Interactively set nodename to
 "testnode1".
 /opt/orientdb-community-2.1-rc6/databases/GratefulDeadConcerts/distributed-config.json
 updates to new settings and
 INFO  [testnode1] received updated status
 testnode1.GratefulDeadConcerts=ONLINE [OHazelcastPlugin]

 - On second instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin .
 Then, ./dserver.sh . specify a root password. Interactively set nodename to
 "testnode2".

 testnode1 creates backup of GratefulDeadConcerts and sends it to
 testnode2. testnode2 installs db.  Both nodes
 have GratefulDeadConcerts=ONLINE with no java.lang.IllegalStateException.

 --

 ---
 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 orient-databa...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>
>> ---
>> 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 orient-database+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 


On 11 August 2015 at 21:13,  wrote:

> 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"
>   },
>   "clusters": {
> "internal": {
> },
> "index": {
> },
> "*": {
>   "servers": [""]
> }
>   }
> }
>
>
> Enabling the replica role like below and shown at
> https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Forientechnologies%2Forientdb%2Fissues%2F3772&sa=D&sntz=1&usg=AFQjCNGUPw8mYKa3GfIN3Sc5nvSXMvUZtQ
> results in java.lang.IllegalStateException on testnode2 after the db
> autodeploys.
>
> {
> "autoDeploy": true,
> "hotAlignment": false,
> "offlineMsgQueueSize" : 0,
> "readQuorum": 1,
> "writeQuorum": 2,
> "failureAvailableNodesLessQuorum": false,
> "readYourWrites": true,
> "servers": {
>   "testnode1" : "master",
>   "*": "replica"
>  },
> "clusters": {
> "internal": {
> },
> "index": {
> },
> "*": {
> "servers" : [ "" ]
> }
> }
> }
>
>
> On Tuesday, August 11, 2015 at 11:47:09 AM UTC-7, l.garulli wrote:
>>
>> Hi,
>> So the problem was in default-distributed-db-config.json file?
>>
>> Best Regards,
>>
>> Luca Garulli
>> Founder & CEO
>> OrientDB 
>>
>>
>> On 11 August 2015 at 19:45,  wrote:
>>
>>> 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 
>>> (which
>>> includes GratefulDeadConcerts db).
>>>
>>> - On both, modify hazelcast.xml as shown in your example (i.e. 2
>>> manually specified ips)
>>>
>>> - On first instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin .
>>> Then, ./dserver.sh . specify a root password. Interactively set nodename to
>>> "testnode1".
>>> /opt/orientdb-community-2.1-rc6/databases/GratefulDeadConcerts/distributed-config.json
>>> updates to new settings and
>>> INFO  [testnode1] received updated status
>>> testnode1.GratefulDeadConcerts=ONLINE [OHazelcastPlugin]
>>>
>>> - On second instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin .
>>> Then, ./dserver.sh . specify a root password. Interactively set nodename to
>>> "testnode2".
>>>
>>> testnode1 creates backup of GratefulDeadConcerts and sends it to
>>> testnode2. testnode2 installs db.  Both nodes
>>> have GratefulDeadConcerts=ONLINE with no java.lang.IllegalStateException.
>>>
>>> --
>>>
>>> ---
>>> 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 orient-databa...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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"
  },
  "clusters": {
"internal": {
},
"index": {
},
"*": {
  "servers": [""]
}
  }
}


Enabling the replica role like below and shown at 
https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Forientechnologies%2Forientdb%2Fissues%2F3772&sa=D&sntz=1&usg=AFQjCNGUPw8mYKa3GfIN3Sc5nvSXMvUZtQ
 
results in java.lang.IllegalStateException on testnode2 after the db 
autodeploys.

{
"autoDeploy": true,
"hotAlignment": false,
"offlineMsgQueueSize" : 0,
"readQuorum": 1,
"writeQuorum": 2,
"failureAvailableNodesLessQuorum": false,
"readYourWrites": true,
"servers": {
  "testnode1" : "master",
  "*": "replica"
 },
"clusters": {
"internal": {
},
"index": {
},
"*": {
"servers" : [ "" ]
}
}
}


On Tuesday, August 11, 2015 at 11:47:09 AM UTC-7, l.garulli wrote:
>
> Hi,
> So the problem was in default-distributed-db-config.json file?
>
> Best Regards,
>
> Luca Garulli
> Founder & CEO
> OrientDB 
>
>
> On 11 August 2015 at 19:45, > wrote:
>
>> 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 
>> (which 
>> includes GratefulDeadConcerts db).
>>
>> - On both, modify hazelcast.xml as shown in your example (i.e. 2 manually 
>> specified ips)
>>
>> - On first instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin . 
>> Then, ./dserver.sh . specify a root password. Interactively set nodename to 
>> "testnode1".  
>> /opt/orientdb-community-2.1-rc6/databases/GratefulDeadConcerts/distributed-config.json
>>  
>> updates to new settings and 
>> INFO  [testnode1] received updated status 
>> testnode1.GratefulDeadConcerts=ONLINE [OHazelcastPlugin]
>>
>> - On second instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin . 
>> Then, ./dserver.sh . specify a root password. Interactively set nodename to 
>> "testnode2".
>>
>> testnode1 creates backup of GratefulDeadConcerts and sends it to 
>> testnode2. testnode2 installs db.  Both nodes 
>> have GratefulDeadConcerts=ONLINE with no java.lang.IllegalStateException.
>>
>> -- 
>>
>> --- 
>> 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 orient-databa...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 model the graph for such queries? Or makes only a 
intersection sense?

Regards,
Sven

> Am 07.08.2015 um 10:41 schrieb SavioL :
> 
> Hi Sven,
> Why do you need another indexing? have  you already tried to implement it 
> with all your complete database? ..as well as the query is too slow?
> if you copy "inuuid" on edge you have a duplicate value since the same value 
> exists in the vertex.
> If you move it from vertex to edge you sure that you do not involve any other 
> disadvantages?
> 
> regards,
> Savio L.
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "OrientDB" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/orient-database/xJHW2YCgBxE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 


On 11 August 2015 at 19:45,  wrote:

> 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 (which
> includes GratefulDeadConcerts db).
>
> - On both, modify hazelcast.xml as shown in your example (i.e. 2 manually
> specified ips)
>
> - On first instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin . Then,
> ./dserver.sh . specify a root password. Interactively set nodename to
> "testnode1".
> /opt/orientdb-community-2.1-rc6/databases/GratefulDeadConcerts/distributed-config.json
> updates to new settings and
> INFO  [testnode1] received updated status
> testnode1.GratefulDeadConcerts=ONLINE [OHazelcastPlugin]
>
> - On second instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin .
> Then, ./dserver.sh . specify a root password. Interactively set nodename to
> "testnode2".
>
> testnode1 creates backup of GratefulDeadConcerts and sends it to
> testnode2. testnode2 installs db.  Both nodes
> have GratefulDeadConcerts=ONLINE with no java.lang.IllegalStateException.
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 has any experience on using one of them?

Best Regards,

Luca Garulli
Founder & CEO
OrientDB 

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 (which 
includes GratefulDeadConcerts db).

- On both, modify hazelcast.xml as shown in your example (i.e. 2 manually 
specified ips)

- On first instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin . Then, 
./dserver.sh . specify a root password. Interactively set nodename to 
"testnode1".  
/opt/orientdb-community-2.1-rc6/databases/GratefulDeadConcerts/distributed-config.json
 
updates to new settings and 
INFO  [testnode1] received updated status 
testnode1.GratefulDeadConcerts=ONLINE [OHazelcastPlugin]

- On second instance, cd /opt/orientdb-community-2.1.1-SNAPSHOT/bin . Then, 
./dserver.sh . specify a root password. Interactively set nodename to 
"testnode2".

testnode1 creates backup of GratefulDeadConcerts and sends it to testnode2. 
testnode2 installs db.  Both nodes have GratefulDeadConcerts=ONLINE with no 
java.lang.IllegalStateException.

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 (select expand(outE('metadata_of'))";
> query+=" from (select from Document where name in " + names + " ))) group 
> by name";
>
> var list=g.command('sql',query);
>
> return list;
>
> the function has one parameter: names
>
> In your case enter in names ['Doc 1','Doc 3']
>
> Regards,
> Alessandro
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 :

> Team,
>
> When a server side function is accessed via the ReST API,
>
> 1. Can the OrientDB server provide me request level caching?
> 2. Will records accessed via the functions be cached in Disk Cache?
>
> Appreciate your response.
>
> Thanks
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 something like:

*select doc_name, out(HaveWord).word from Document*

That returns the doc_name and a list of unsorted words :p



-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 vertex A and B multiple times, but it 
looks like all lightweight-edges, none of them were regular one. (I'm using 
v2.1.0.)

let A = create vertex A set name = '2';
let B = create vertex B set name = '3';
create edge E from $A to $B;
create edge E from $A to $B;
create edge E from $A to $B;
create edge E from $A to $B;
select from [#20:0, #21:0];  // created vertexes;

+-+--+++
#   |@RID |@CLASS|name|out_|in_
+--+--+++
0   |#20:0|A |2   |[size=4]|null
1   |#21:0|B |3   |null|[size=4]
+-+--+++

*out_: #21:0, #21:0, #21:0, #21:0
*in_:  #20:0, #20:0, #20:0, #20:0

And I'm wondering is there way to make lightweight-edge to be one-to-one 
relationship like LINK?

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-08-11 Thread SavioL
Having experienced the same situation in another machine and having seen 
that it works is a good road, I think it is a problem only to that database 
instance on the machine that does not work well .. You might try 
downloading a new version (also always 2.0.13 or 2.0.14), and test if the 
issue is resolved .. Of configuration there should be nothing to fix.

If you can try to let me know how it goes :) ... 

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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?
>
> http://www.rethinkdb.com/docs/external-api-access/
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, August 10, 2015 at 12:19:51 PM UTC+3, Ran Mizrachi wrote:
>
> Hi there,
>
> I see that my index is not being updated after insert operations.
> The index is a unique hash index and I'm creating it using the following 
> command:
>
>   CREATE INDEX contactId on Contact(id) UNIQUE_HASH_INDEX
>
> I see clearly that after I rebuild the index new results returns in the 
> queries.
>
>
> Any ideas?
>
> Thanks!
>
>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 :

> Thanks for the response.  I tried what you suggested and it worked,
> however my concern was not that I personally had a corrupted copy.  My
> concern was that the DB that's distributed with 2.1 may be corrupted.  Can
> anyone confirm either way?
>
> Thanks
>
> On Wednesday, August 5, 2015 at 9:13:14 AM UTC-7, Luigi Dell'Aquila wrote:
>>
>> Hi  Wes,
>>
>> try to download it from the cloud: from the login panel
>> - select GratefulDeadConcerts and delete it (click on the trash bin icon)
>> - click on the cloud icon
>> - enter root username and password and click on the cloud icon besides
>> the db to import
>>
>> Thanks
>>
>> Luigi
>>
>>
>> 2015-08-05 17:57 GMT+02:00 Wes Arnquist :
>>
>>> I just installed 2.1 and something seems to be wrong with the included
>>> GratefulDeadConcerts DB.  The artist data seems to be missing.  I can only
>>> find vertexes of type 'song' or null.
>>>
>>>
>>> Is anyone else seeing this?
>>>
>>>
>>> Below is the same query run over two different version.
>>>
>>> select from V where type = 'artist' limit -1
>>>
>>>
>>> *2.0.3*
>>>
>>>
>>>
>>> 
>>>
>>> *2.1*
>>>
>>>
>>>
>>> 
>>>
>>> --
>>>
>>> ---
>>> 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 orient-databa...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 김제준 :

> Hi there!
>
> I'm Using orentdb 2.0.13 and batch write with Spring batch.
> I'm using 1 Vertex with 4 properties and 3 index.
>
> If I removed index commit 5000 rows spends under 1000 mills.
> If I using 3 index it takes 2~10 mills.
>
> So, How can i improve write performance?
>
> I don't touch server config.
> In java Config I use this.
>
> OGlobalConfiguration.USE_WAL.setValue(false);
> OGlobalConfiguration.WAL_SYNC_ON_PAGE_FLUSH.setValue(false);
> graph.setUseLog(false);
>
>
> graph.declareIntent(new OIntentMassiveInsert());
> for loop
> graph.addVertex("class:SomeClass");
>  graph.declareIntent(new OIntentMassiveInsert());
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 name";

var list=g.command('sql',query);

return list;

the function has one parameter: names

In your case enter in names ['Doc 1','Doc 3']

Regards,
Alessandro

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 :

> 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 connection with the JDBC OrientDB driver that
> you provide and this was successful. But when I tried to execute an SQL
> command. It failed.
>
> This is my post at Mathematica StackExchange
> 
>
> .
>
> *And the Messages window displays the error:*
>
> Java::excptn: "A Java exception occurred:
> "java.sql.SQLFeatureNotSupportedException"
>
> at
> com.orientechnologies.orient.jdbc.OrientJdbcConnection.prepareStatement(OrientJdbcConnection.java:238)
>
> at
> com.wolfram.databaselink.SQLStatementProcessor.processSQLStatement(SQLStatementProcessor.java:50).
>
> Any ideas on how to fix that ?
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 UTC+12, David Carr wrote:
>
> I'm not familiar with the term slug but you should be able to do this via 
> a hook (aka insert trigger). I have a few insert triggers that work well. 
> Try to follow the tutorial here 
> http://orientdb.com/docs/last/Tutorial-Java-Hooks.html.
>
> On Sunday, August 9, 2015 at 3:27:13 AM UTC-6, Charles Munat wrote:
>>
>> I want to create a slug from a user's name and save it when the record is 
>> created. In PostgreSQL this is easy with a procedure and a trigger, but I 
>> can't for the life of me figure out how to do it in OrientDB. I need to a) 
>> get hold of the name field of the document within the javascript function 
>> onBeforeCreate, and b) I need to compare the slug to all the other slugs to 
>> ensure that it is unqiue, and to add an incremented integer if it is not.
>>
>> It would be nice to have a simple function that I could call on default 
>> for the slug field (better still if I could pass it the name of the field 
>> or fields to be used to create the slug). Barring that, a dynamic hook.
>>
>> What is the best practice, or can someone provide a link to where this is 
>> covered in the documentation? I can't find it.
>>
>> TIA,
>>
>> Chas. Munat
>>
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 :

> Hi All,
>
> I am unable to join two nodes into a cluster because of different cluster
> name (1st node is orientDB and 2nd is Workbench)
>
>
> Log from node1
>
> 2015-08-10 13:45:23:854 WARNI [10.0.20.55]:2434 [orientdb] [3.3.5]
> Received an invalid join request from Address[10.0.20.55]:2435, cause:
> clusters part of different cluster-groups [ClusterService]
>
> 2015-08-10 13:45:23:855 WARNI [10.0.20.55]:2434 [orientdb] [3.3.5]
> Received an invalid join request from Address[10.0.20.55]:2435, cause:
> clusters part of different cluster-groups [ClusterService]
>
>
>
>
> Log from node2
>
>
>
> 2015-08-10 13:45:22:863 INFO  [10.0.20.55]:2435 [orinetdb] [3.3.5]
> Established socket connection between /10.0.20.55:60302 and /
> 10.0.20.55:2434 [TcpIpConnectionManager]
>
> 2015-08-10 13:45:23:857 WARNI [10.0.20.55]:2435 [orinetdb] [3.3.5] Node
> could not join cluster at node: Address[10.0.20.55]:2434 Cause: the target
> cluster has a different group-name [cluster]
>
> 2015-08-10 13:45:23:857 INFO  [10.0.20.55]:2435 [orinetdb] [3.3.5]
> Address[10.0.20.55]:2434 is added to the blacklist. [TcpIpJoiner]
>
> 2015-08-10 13:45:23:858 INFO  [10.0.20.55]:2435 [orinetdb] [3.3.5]
> Connection [Address[10.0.20.55]:2434] lost. Reason: Socket explicitly
> closed [TcpIpConnection]
>
> 2015-08-10 13:45:23:858 WARNI [10.0.20.55]:2435 [orinetdb] [3.3.5] Node
> could not join cluster at node: Address[10.0.20.55]:2434 Cause: the target
> cluster has a different group-name [cluster]
>
> 2015-08-10 13:45:23:859 INFO  [10.0.20.55]:2435 [orinetdb] [3.3.5]
> Address[10.0.20.55]:2434 is added to the blacklist. [TcpIpJoiner]
>
>
> Can I know how to change cluster name?
>
>
> Regards,
>
> Pradeep
>
>
>
> --
>
> ---
> 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 orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Re: Orient DB :OSQLSynchQuery

2015-08-11 Thread alessandrorota04
Hi,
I try your code and I think that the problem is "(Iterable) 
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 Iterable in List and 
after you use only the list.

String  myhierarchy="my hierarchy" ;
OSQLSynchQuery cmd1 =  new OSQLSynchQuery("select 
from Models WHERE hierarchy = \"" + myhierarchy + "\""); 

Iterable b=(Iterable) txGraph.command(cmd1).execute();
List listaVertex=new ArrayList();
CollectionUtils.addAll(listaVertex, b.iterator());
for (Vertex v : listaVertex ){ 
System.out.println("- vert : "  + v); 
}

for (Vertex v :  listaVertex ) {
System.out.println("- cdsf : " +  v);
}

Regards,
Alessandro

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 / log / the last log) there is some error 
message during any stage of your script, from 'created class ...' to 
'select from ...'?


-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 com.orientechnologies.orient.core.storage.impl.local.
> OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:220) ~[na:na
> ]
>  at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open
> (ODatabaseDocumentTx.java:244) ~[na:na]
>  at com.orientechnologies.orient.core.db.
> OPartitionedDatabasePool$DatabaseDocumentTxPolled.internalOpen(
> OPartitionedDatabasePool.java:137) ~[na:na]
>  at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.
> openDatabase(OPartitionedDatabasePool.java:331) ~[na:na]
>  at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(
> OPartitionedDatabasePool.java:304) ~[na:na]
>  at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.(
> OrientBaseGraph.java:166) ~[na:na]
>  at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.(
> OrientTransactionalGraph.java:78) ~[na:na]
>  at com.tinkerpop.blueprints.impls.orient.OrientGraph.(OrientGraph.
> java:128) ~[na:na]
>  at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getTx(
> OrientGraphFactory.java:74) ~[na:na]
>  ...
>  ... 7 common frames omitted
> Caused by: com.orientechnologies.orient.core.exception.
> OSerializationException: Cannot load database's configuration. The 
> database seems to be corrupted.
>  at 
> com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:84)
>  
> ~[na:na]
>  at 
> com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:166)
>  
> ~[na:na]
>  ... 34 common frames omitted
> Caused by: java.io.IOException: The process cannot access the file because 
> another process has locked a portion of the file
>  at java.io.RandomAccessFile.read0(Native Method) ~[na:1.7.0_71]
>  at java.io.RandomAccessFile.read(RandomAccessFile.java:330) ~[na:1.7.0_71]
>  at 
> com.orientechnologies.orient.core.storage.fs.OAbstractFile.openChannel(OAbstractFile.java:641)
>  
> ~[na:na]
>  at 
> com.orientechnologies.orient.core.storage.fs.OAbstractFile.open(OAbstractFile.java:144)
>  
> ~[na:na]
>  at 
> com.orientechnologies.orient.core.storage.impl.local.OSingleFileSegment.open(OSingleFileSegment.java:57)
>  
> ~[na:na]
>  at 
> com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:64)
>  
> ~[na:na]
>  ... 35 common frames omitted
>
> Here's what happens:
>
>- ODatabaseDocumentTx has a field has a field storage. In my case 
>storage is a OLocalPaginatedStorage (I'm using a plocal database).
>- OLocalPaginatedStorage has a field configuration (inherited from 
>OStorageAbstract). In my case configuration is a 
>OStorageConfigurationSegment.
>- OStorageConfigurationSegment has a field segment, of type 
>OSingleFileSegment.
>
> The problem occurs when OAbstractPaginatedStorage.open() does:
>
> configuration.load():
>
> This causes the configuration to attempt:
>
> segment.open();
>
> which will throw this exception...
>
> java.io.IOException: The process cannot access the file because another 
> process has locked a portion of the file
>
> ...if the file is already open (according to the error message, if it's 
> locked by another process; I cannot verify this because the method that 
> ultimately fails, java.io.RandomAccessFile.read0(), is native).
> It took quite a lot of debugging to find out who may be causing this and 
> even now I cannot be 100% sure, but here's what I found:
>
> The database I got from the factory like this...
>
> ODatabaseDocumentTx database = factory.getDatabase();
>
> ...does *not* close the configuration when I do database.close(). (Or 
> rather, it tries but nothing happens).
> Here's ODatabaseDocumentTx.close():
>
>   @Override
>   public void close() {
> localCache.shutdown();
>
> if (isClosed())
>   return;
>
> setCurrentDatabaseInThreadLocal();
> try {
>   commit(true);
> } catch (Exception e) {
>   OLogManager.instance().error(this, "Exception during commit of 
> active transaction.", e);
> }
>
> if (status != STATUS.OPEN)
>   return;
>
> callOnCloseListeners();
>
> if (currentIntent != null) {
>   currentIntent.end(this);
>   currentIntent = null;
> }
>
> status = STATUS.CLOSED;
>
> localCache.clear();
>
> if (!keepStorageOpen && storage != null)
>   storage.close(); // <-- this gets invoked
>
> ODatabaseRecordThreadLocal.INSTANCE.remove();
>   }
>
> OStorageAbstract.close(): 
>   public void close() {
> close(false, false);
>   }
>
> OAbstractPaginatedStorage.close(boolean, boolean):
>   public void close(final boolean force, boolean on

[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 it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.