Not sure how helpful this will be but here goes. When locating by Schema 
Property, use the findBySchemaProperty against the Repo for that entity 
type. 

@TypeAlias("AuditHeader")
public class AuditHeaderNode implements AuditHeader {
    @Indexed
    private String callerKeyRef;
......
}

return auditRepo.findBySchemaPropertyValue("callerKeyRef", keyToFind);

If you don't have a Repo it appears you could call 
template.findUniqueEntity(Class<T> 
entityClass, String propertyName, Object value) which also uses schema 
indexes. I haven't used this yet but it seems to do what you want.

hth.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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