docs: private String calculateAutocompleteResourceUrl(
              RenderRequest request, RenderResponse response) {
          final HttpServletRequest httpRequest =
                  this.portalRequestUtils.getPortletHttpRequest(request);
          final IPortalUrlBuilder portalUrlBuilder =
                  this.portalUrlProvider.getPortalUrlBuilderByPortletFName(
                          httpRequest, "search", UrlType.RESOURCE);
          final IPortletUrlBuilder portletUrlBuilder =
                  portalUrlBuilder.getPortletUrlBuilder(portalUrlBuilder.getTargetPortletWindowId());
          portletUrlBuilder.setResourceId(AJAX_RESPONSE_RESOURCE_ID);
          return portletUrlBuilder.getPortalUrlBuilder().getUrlString();
      }