Mike olo wrote:
QueryManager qm = ws.getQueryManager();
Query q =
qm.createQuery("//*[jcr:like(@jcr:content,'%itesh%')]",Query.XPATH);
QueryResult result = q.execute();
NodeIterator it = result.getNodes();
while (it.hasNext()){
Node n = it.nextNode();
System.out.println(n.getName());
System.out.println(n.getProperty("jcr:file").getString());
System.out.println(n.getProperty("jcr:checkOutUser").getString());
}
how does your node type look like?
what is the type of the jcr:content property?
regards
marcel