I have one site "mySite" with "documentLibrary". Inside I have "PATIENTS" folder :
I have tried differents method with :
search.luceneSearch("TYPE:\"cm:folder\" AND @cm\\:title:\"*"+filterTerm+"*\"");
PS : each sub-folder is created by a java mechanism. Is-it possible that a parameter or an action ( may-be permission), during the sub-folder creation, can cancel the sub-folder scan ?