Why Global search on search_result.do is taking very long time within CMS?Issue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms When user performs global text search within Content Management System (CMS), system takes longer than 2 minutes to get the search results. However, global search on the platform is faster. And Global search with in CMS is faster for admin user. While reproducing the issue, observed below node logs, When I reproduced the reported issue on your instance, noticed below information from the node logs, 2018-10-04 02:04:13 (241) http-19 New transaction 65CCCF7F4FF8A340B1B04DA28110C75F #382412 /view_content.do2018-10-04 02:04:13 (935) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F [0:00:01.507] Slow DropZone: bbbbbbbbbbbbbbbb:dropzone0...2018-10-04 02:04:15 (033) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Slow ACL xxxxxxxxxxxxxx for the path record/kb_knowledge/read, time was: 9432018-10-04 02:04:15 (086) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Recursive business rule call for 'User partenaire query' on sys_user: is being ignored. Business Rule Stack: User partenaire query,User partenaire query2018-10-04 02:04:15 (102) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F WARNING *** WARNING *** Get for non-existent record: sys_user:yyyyyyyyyy, initializing2018-10-04 02:04:15 (141) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Slow ACL xxxxxxxxxxxxxx for the path record/kb_knowledge/read, time was: 1022018-10-04 02:04:15 (186) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Recursive business rule call for 'User partenaire query' on sys_user: is being ignored. Business Rule Stack: User partenaire query,User partenaire query2018-10-04 02:04:15 (204) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F WARNING *** WARNING *** Get for non-existent record: sys_user:yyyyyyyyyy, initializing2018-10-04 02:04:15 (244) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Slow ACL xxxxxxxxxxxxxx for the path record/kb_knowledge/read, time was: 1012018-10-04 02:04:15 (301) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Recursive business rule call for 'User partenaire query' on sys_user: is being ignored. Business Rule Stack: User partenaire query,User partenaire query2018-10-04 02:04:15 (319) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F WARNING *** WARNING *** Get for non-existent record: sys_user:yyyyyyyyyyy, initializing2018-10-04 02:04:15 (358) Default-thread-5 65CCCF7F4FF8A340B1B04DA28110C75F Slow ACL xxxxxxxxxxxxxx for the path record/kb_knowledge/read, time was: 112....2018-10-04 02:06:20 (435) Default-thread-2 65CCCF7F4FF8A340B1B04DA28110C75F EXCESSIVE *** End #382412 /view_content.do, user: zzzzzzzz, impersonated by: aaaaaaa@snc, total time: 0:02:07.194, processing time: 0:00:01.331, total wait: 0:02:05.863, session wait: 0:02:05.863, SQL time: 0:00:00.105 (count: 216), business rule: 0:00:00.749 (count: 62) Release Any supported release. Cause Slow ACL execution for ACL with sys_id=xxxxxxxxxxxxxx and recursive before query business rule on sys_user is happening many times, this seems to be causing the performance issue. The search_results.do content page dropzones to display most popular and most used articles, thus this invokes the "record/kb_knowledge/read" ACL for lot of KB articles and hence takes longer time to load. Resolution Review the slow ACL record/kb_knowledge/read and improve the script so that sys_user before query business rule is not invoked recursively. If not needed, remove the most popular and most used articles from the content page. Additional Information Global search in Content Management System