*/
@Override
public Result<T> findAllBySchemaPropertyValue(String property, Object value) {
final String SCHEMA_PROP_MATCH_CLAUSE = "MATCH (entity:`%s`) where entity.`%s` = {propValue} return entity";
Neo4jPersistentEntity persistentEntity = template.getEntityType(clazz).getEntity();
Neo4jPersistentProperty persistentProperty = (Neo4jPersistentProperty)persistentEntity.getPersistentProperty(property);
if (persistentProperty.getIndexInfo() == null || !persistentProperty.getIndexInfo().isLabelBased() ) {
throw new IllegalArgumentException(format("property %s.%s is not schema indexed",persistentEntity.getName(),property));
}
Map<String,Object> params = new HashMap<String,Object>();
params.put("propValue", value);
String cypherQuery = format(SCHEMA_PROP_MATCH_CLAUSE,