/** Test indexing and searching of properties */ public void testIndexingSearchingOfProperties() throws Exception { String path = "/" + NODE_NAME; String name = "firstnames"; String value = "bob alice"; Node node = repo.getNode(path); node.setProperty(name, value); Node[] nodes = repo.getSearcher().searchProperty(name, "alice", "/"); log.info("Number of nodes found: " + nodes.length); assertTrue(nodes != null && nodes.length == 1 && nodes[0].getPath().equals(path)); }