[orientdb] HTTP Interface: result of query with exclude properties in select differs from those in studio

2017-04-19 Thread hartmut bischoff
Hi, while trying to avoid loading of embedded-maps by fetching a record via http#get tried the batch command. Firing *select expand( @this.exclude( 'portfolio_values','account_values')) from #140:0* in Studio gives the expected result: > { "result": [ {

Re: [orientdb] Run OrientDB HA from Java

2017-04-19 Thread Ray Neiheiser
No errors, server starts up normal. Doesn't say anything about ha. What I did: COnfigured the settings. and started the server like this: factory = new OrientGraphFactory(BASE_PATH + this.id).setupPool(1, 10); where the basePath is the /OrientDB folder and the database is in /databases (The

Re: [orientdb] Error: invalid pattern to match

2017-04-19 Thread Luigi Dell'Aquila
About the black magic, I think the query planner is trying to process is from right to left, but when it finds a parenthesis block it fails to traverse it backwards Thanks Luigi 2017-04-19 16:14 GMT+02:00 Luigi Dell'Aquila : > Hi Nicolas, > > Try to remove the

Re: [orientdb] Error: invalid pattern to match

2017-04-19 Thread Luigi Dell'Aquila
Hi Nicolas, Try to remove the parentheses: MATCH {class: Pokemon, as: p}.inE('has_type').outV(){class: Type, as: t} RETURN p, t In the meantime I'll check why it doesn't work (it should...) Thanks Luigi 2017-04-19 16:01 GMT+02:00 nicolas treiber : > Hi, > > I

[orientdb] Error: invalid pattern to match

2017-04-19 Thread nicolas treiber
Hi, I have a weird problem that popped out of nowhere. I have class Pokemon (yeah I work with pokemon data for testing) and a class Type. Each Pokemon has an 'in' relationship with one or multiple types, and a wanted to fetch all the pokemon of a given type (for example "fire"). So i made a

Re: [orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-19 Thread Luigi Dell'Aquila
Hi, You can add multiple comma separated patters. Use aliases an junction points eg. MATCH {as:user} -Performs-> {as:process} -Uses-> {class:Application, as:app, where:(applicationName = ?)} -RunsOn-> {class:Server, as:server, where:(osType = ?)}, {as:server} -IsMoutedOn-> {as:storage},

Re: [orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-19 Thread Chaitanya deep singh Jhala
Thanks for your quick response.Somewhere I am looking for the same result down the line.One small doubt if we have more then one dependent Vertex then how we will put it into the same query like Server IsMountedOn Storage and Server IsConnectedTo Network. On Tuesday, April 18, 2017 at 6:07:35