@Test @Transactional @Ignore public void testCanIndexIntFieldsOnRelationshipEntities() { Person p = persistedPerson(NAME_VALUE, 35); Person p2 = persistedPerson(NAME_VALUE2, 25); Friendship friendship = p.knows(p2); friendship.setYears(1); GraphRepository<Friendship> friendshipFinder = neo4jTemplate.repositoryFor(Friendship.class); assertEquals(friendship, friendshipFinder.findByPropertyValue("Friendship.years", 1)); }