Hi friends,

i m using jackrabbit1.2.3 and it's working fine. now i would like to
implement search on repository and following is implemented code. no error
but it's not return any resulting node. 

so. pls guide me for solution and let me know all setting related to this
issue.

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());
}


Thanks
MIKE
-- 
View this message in context: 
http://www.nabble.com/Text-search-through-query-tf4756152.html#a13601026
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to