Hi there,
I have the following code which is supposed to search folder "denzil" which is a subfolder of the root folder (okm:root) for doc's that have keywords "document". However the search returns 0 records, when infact it should return 1 record. I would appreciate it if someone could assist me.
Best Regards
Dena
String username = "denzil";
String searchText = "document";
String search = "/jcr:root/okm:root/"+userName+"//element(*,okm:document)[jcr:contains(@okm:keywords,'"+ searchText + "')] order by @jcr

core descending";