As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
filtro = 'document'; var res = search.luceneSearch("(PATH:\"/app:company_home/cm:" + url.extension + "//*\" ) AND (@cm\\:name:*" + filtro + "*)");
To find all nodes with the cm:name property containing words starting with "ban": @cm\:name:ban* To find all nodes with the cm:name property containing words ending with "ana": @cm\:name:*ana The standard Lucene query parser does not allow wild cards at the start for performance reasons. Use this with caution. To find all nodes with the cm:name property containing words containing "anan": @cm\:name:*anan* To find all nodes with the cm:name property containing phrase "green banana": @cm\:name:"green banana"
var query = "(PATH:\"app:company_home/cm:" + url.extension + "//*\")"; if(args.filter != undefined){ query += " AND (+@cm\\:name:\"*" + args.filter + "*\")"; } var res = search.luceneSearch(query);
query += " AND (+@cm\\:name:\"*" + args.filter + "*\")";
query += " AND (+@cm\\:name:*" + args.filter + "*)";