[orientdb] Re: orientdb-neo4j-importer: Importing from neo4j with multiple Labels on nodes

2016-12-19 Thread Oleksandr Gubchenko
It's not possible. See official documentation: http://orientdb.com/docs/last/OrientDB-Neo4j-Importer.html Limitations: Schema limitations: - In case a node in Neo4j has multiple Labels, it will be imported into a single OrientDB Class ("MultipleLabelNeo4jConversion"). -- Note that the

[orientdb] orientdb-neo4j-importer: Importing from neo4j with multiple Labels on nodes

2016-12-19 Thread Gregory Mace
I've imported several millions of records from Neo4j. They all came over, but the class type is not what I wanted them to be. I have some questions: 1. can orientdb represent Vertexes similar to Neo4j in terms of supporting multiple Labels on a Vertex. If so, how? 2. how can I bulk change

[orientdb] Re: I can't expand more than three times in let query. what is the alternative way?

2016-12-19 Thread Oleksandr Gubchenko
Are you using the latest version? Il giorno lunedì 19 dicembre 2016 10:41:50 UTC+1, Pugazharasan Thirumalai ha scritto: > > If i execute the below query, > > select sum($service.gross_value) as total from #25:1073 let $service = > (select expand(out('store_has_billing')['is_deleted = false'])

[orientdb] Re: Restore database with the same RID

2016-12-19 Thread Oleksandr Gubchenko
Can you just try to copy the folder containing the database? Il giorno sabato 17 dicembre 2016 21:23:35 UTC+1, André Toscano ha scritto: > > Hi, I've made an export/import database and I the objects changed its RIDs. > I take a look at the documentation again and I saw that is recommended to >

[orientdb] Re: Get element by array in json

2016-12-19 Thread Academia Learning Centro de inglés y de formación
> > I've got it using > select from CompositionVersions " + "where (select distinct (id) from (select id, date, events.data.items as items " + "from (select id, value.data.origin.value as date, value.data.events as events " + "from (select value.uid.value as id, value.content as value " +

[orientdb] I can't expand more than three times in let query. what is the alternative way?

2016-12-19 Thread Pugazharasan Thirumalai
If i execute the below query, select sum($service.gross_value) as total from #25:1073 let $service = (select expand(out('store_has_billing')['is_deleted = false']) from (select expand(out('network_has_store')['is_deleted = false']) from $parent.$current)) am get result. But if i expand

Re: [orientdb] OSQLFunctionMax.java or OSQLFunctionMin.java

2016-12-19 Thread Luigi Dell'Aquila
Hi, It's very similar, but not actually the same ;-) One has else if (context.compareTo(value) < 0) The other one has else if (context.compareTo(value) > 0) (see the greater-than vs. less-than) The //BIGGER comment in one case is wrong of course. I'm looking at the source code in 2.2.x