code: private CmsSearchIndex createDummySearchIndex() {
  
          CmsSearchIndex result = new CmsSearchIndex();
          result.setLocale(Locale.ENGLISH);
          result.setProject("Online");
          result.setRebuildMode("auto");
  
          // find default source
          Map<String, CmsSearchIndexSource> sources = m_searchManager.getSearchIndexSources();
          if (sources.isEmpty()) {
              CmsSearchIndexSource source = createDummyIndexSource();
              sources.put(source.getName(), source);
          }
          result.addSourceName(sources.keySet().iterator().next());
  
          return result;
      }
docs: Creates a "dummy" search index that is not linked to the search manager and has
  a <code>null</code> name property that will be used for being filled with
  the widget bean technology. <p>
  
  @return a "dummy" search index that is not linked to the search manager and has
  a <code>null</code> name property that will be used for being filled with
  the widget bean technology