Re: [orientdb] Indexing strategy for documents with big number of fields

2015-04-20 Thread Luigi Dell'Aquila
Hi Valeri, composed indexes in some cases can be used also in basic queries, eg. if you have an index defined on properties A, B and C, the following will use the index too: select from Foo where A = 1 It is only true if the fields in the query are a prefix of the index itself (eg. properties

[orientdb] Re: Problems for new comers to OrientDB from NoSQL or SQL world

2015-04-20 Thread Ramazan POLAT
Hello Colin, I have already checked the documentation but I think documentation is weak. For example in GraphAPI section, it says: for (Vertex v : graph.getVertices()) { System.out.println(v.getProperty(name)); } Bu this code checks the name property for all vertices. In most projects,

Re: [orientdb] Returning a tree structure

2015-04-20 Thread Luigi Dell'Aquila
Hi Caleb, which API are you using? You can get this result just with a SELECT FROM a FETCHPLAN *:-1 2015-04-19 12:07 GMT+02:00 cloveret...@gmail.com: Hi all, Suppose that I have a tree like this: - d | - b || a--- - e | - c - f

Re: [orientdb] Want understand the concept.

2015-04-20 Thread Luigi Dell'Aquila
Hi Mahesh, I will give you two examples, one with documents and links and the other with vertices and edges. Ex1: You have a class Person with a link property father that points to another person you can do traverse father from (select from Person where name = 'Bill') while $depth 3 you will

Re: [orientdb] Re: list() function in distributed mode

2015-04-20 Thread Luigi Dell'Aquila
Hi, no, it's not the expected behavior, query execution is supposed to return the same results in single node and in distributed. Could you please open an issue and (if you can) provide a simple test case? Thanks 2015-04-17 11:41 GMT+02:00 ccasen...@axway.com: Anyone to help ? -- ---

[orientdb] Re: Want understand the concept.

2015-04-20 Thread Mahesh Wabale
But what about breadth first search and depth first search strategies. I am not confident about traversal strategies. How it works internally . -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop

[orientdb] Re: Want understand the concept.

2015-04-20 Thread Mahesh Wabale
Oh very very 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

[orientdb] Anything similar to oracle JOB

2015-04-20 Thread Noorul Farhan Ahmed
Hi, Is there anything similar to oracle JOB in OrientDB where I can schedule a function to run every x minutes? Thanks, Noorul -- --- 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,

[orientdb] Re: How to 'group by' on only DATE (without the time)

2015-04-20 Thread ccasenove
Hi, did you try the date() function ( http://orientdb.com/docs/last/SQL-Functions.html#date)? Regards Le lundi 20 avril 2015 07:55:20 UTC+2, Kishy Kumar a écrit : I have a columns timestamp where I save the the datetime in this '-MM-dd'T'HH:mm:ss.SSS'-0700' format. It looks like

[orientdb] Re: Why can't I delete the edge?

2015-04-20 Thread Esen Sagynov
delete edge Permissions where @rid = #15:1 Returns the same error: java.lang.ClassCastException: java.lang.String cannot be cast to com.orientechnologies.orient.core.db.record.OIdentifiable When I try to delete the edge from the Edit view, it shows another error:

[orientdb] Relationships in Graph database.

2015-04-20 Thread Mahesh Wabale
Hello everyone , I read whole document of orient DB , also understanding the concept classes ,clusters , edges , vertex . Also understand how orientdb solve the problem of join by replacing edges . Now i want to know how we can create relational graph database and how we traverse (traverse

[orientdb] Re: OCommandSQLParsingException for valid json

2015-04-20 Thread ccasenove
Hi, did you try the ODocument.fromJSON() method instead of the constructor? Regards. Le dimanche 19 avril 2015 13:24:51 UTC+2, satish b a écrit : Hello I'm getting an OCommandSQLParsingException: Error on parsing command at position #0: Invalid keyword: TYPE:PERSON I have tried with

[orientdb] Want understand the concept.

2015-04-20 Thread Mahesh Wabale
I read whole document , i doesn't understand the traverse command can anyone explain me this concept by giving example ? Also i am trying this command , but not understanding how it works internally . traverse friends from #10:1234 while $depth = 3 strategy BREADTH_FIRST -- --- You

[orientdb] Re: Why can't I delete the edge?

2015-04-20 Thread nagaraja sosale ramaswamy
you might want to try adding the 'unsafe' predicate to the delete edge command. I have seen somewhat similar behaviour (though i don't recall the exact error message) when i tried to delete the vertex directly by giving the @rid (delete #14:0) instead of using the delete vertex command. using

[orientdb] Re: Problems for new comers to OrientDB from NoSQL or SQL world

2015-04-20 Thread Colin
Hi Ramazan, We're working to improve the documentation and the training course. However, have you looked at the OrientDB documentation? http://orientdb.com/docs/last/orientdb.wiki/Choosing-between-Graph-or-Document-API.html

[orientdb] Re: java null pointer exception thrown from this piece of code, any suggestions

2015-04-20 Thread ccasenove
Hi, Are you sure the Career class exists in your database? In OrientBaseGraph.java, the following code is called: 835OClass clazz = this.database.getMetadata().getImmutableSchemaSnapshot().getClass(className); 837Collection indexes = clazz.getIndexes(); So I guess the clazz variable

[orientdb] orientdb-server-config.xml disorganized after server startup

2015-04-20 Thread KY
Hi all, After starting server.bat or dserver.bat, the orientdb-server-config.xml config file is disorganized: - all comments are stripped of (including the disclaimer) - the parameter elements attributes' positions are changed: 'value' is followed by 'name' Btw, there is no xsd for this xml

[orientdb] Re: Registered class is not registered?

2015-04-20 Thread Paul Scott
Apparently upgrading to OrientDB-2.0.7-community fixes this error! Still a little confused, but will accept the fix! Thanks for your help -- Paul On Friday, 17 April 2015 09:44:42 UTC+2, Paul Scott wrote: Hi, I am getting the error: SEVERE: Unable to fetch page