Hi,

I have a schema like this

CREATE CLASS EntityInfo
  CREATE PROPERTY EntityInfo.State INTEGER

CREATE CLASS Contact
   CREATE PROPERTY Contact.EntityInfo EMBEDDED EntityInfo

I have tried to create an index like this, but it is failed to execute

CREATE INDEX Contact.EntityInfo_State ON Contact (EntityInfo.State) 
NOTUNIQUE_HASH_INDEX

and the error is 

com.orientechnologies.orient.core.index.OIndexException: Index with name : 
'Contact.EntityInfo_State' cannot be created on class : 'Contact' because 
field: 'EntityInfo.State' is absent in class definition

because I could not create this kind of index, so all queries with State is 
very slow. For example,





Any idea will be very appreciated!

My Best,
Hung Tran



-- 

--- 
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/d/optout.

Reply via email to