docs: private void executeSearch(CmsSearchController controller, CmsSolrQuery query) {
  
          CmsObject cms = A_CmsUI.getCmsObject();
          CmsSolrIndex index = OpenCms.getSearchManager().getIndexSolr(
              cms.getRequestContext().getCurrentProject().isOnlineProject()
              ? CmsSolrIndex.DEFAULT_INDEX_NAME_ONLINE
              : CmsSolrIndex.DEFAULT_INDEX_NAME_OFFLINE);
          try {
              CmsSolrResultList solrResultList = index.search(cms, query, true, CmsResourceFilter.IGNORE_EXPIRATION);
              displayResult(solrResultList);
              m_resultFacets.displayFacetResult(
                  solrResultList,
                  new CmsSearchResultWrapper(controller, solrResultList, query, cms, null));
          } catch (CmsSearchException e) {
              CmsErrorDialog.showErrorDialog(e);
  
              LOG.error("Error executing search.", e);
          }
      }