CREATE CLASS EntityInfo
CREATE PROPERTY EntityInfo.State INTEGER
CREATE CLASS Contact
CREATE PROPERTY Contact.EntityInfo EMBEDDED EntityInfo
CREATE INDEX Contact.EntityInfo_State ON Contact (EntityInfo.State) NOTUNIQUE_HASH_INDEX
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
CREATE INDEX EntityInfo.State ON EntityInfo (State) NOTUNIQUE_HASH_INDEX
java.lang.OutOfMemoryError: GC overhead limit exceeded
[TIP] Query 'select expand(EntityInfo) from Contact' returned a result set with more than 10000 records. Check if you really need all these records, or reduce the resultset by using a LIMIT to improve both performance and used RAM [OEnterpriseProfiler]
CREATE INDEX Contact.EntityInfo_State ON Contact (EntityInfo.State) NOTUNIQUE
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.
instead of your HASH_INDEX
CREATE INDEX EntityInfo.State ON EntityInfo (State) NOTUNIQUE_HASH_INDEX