Hey all,

New to graph DBs and to Orient in particular. I have a few questions I 
can't seem to find the answer to, and was wondering if anyone could help.


   1. When using the java api, the orient docs indicate that to use an 
   index with the getVerticies method, I should use 
   getVerticies(Class.Property, value) ie getVerticies("TestClass.testId",123) 
   . However does the same apply when using gremlin ?  If i had something like 
   g. ... .out("link_to_test").has("testId",123) would gremlin use the testId 
   index ? Because has("Test.testId",123) does not seem to work.
   2. Am I right in assuming something like 
   pipe.start(root).out("link_to_test").has("testId",123) can't be represented 
   using the VertexQuery api ? Something like root.query().labels(
   "link_to_test").vertices() would return a list of vertices and I would 
   have to filter them manually by the testId property ?
   3. Are there any performance advantages/disadvantages to using the 
   VertexQuery or gremlin api as opposed to the SQL api ?
   4. If I create a compound index, is there anyway to query over that 
   compound index using the gremlin api ?

I apologize if some of these questions have already been asked and 
answered. Thanks for the help!
Mahmoud

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to