code: private void fillDetailIndexSource(CmsListItem item, String detailId) {
  
          StringBuffer html = new StringBuffer();
          // search for the corresponding A_CmsSearchIndex:
          I_CmsSearchIndex idx = OpenCms.getSearchManager().getIndex((String)item.get(LIST_COLUMN_NAME));
  
          html.append("<ul>\n");
          // get the index sources (nice API)
          for (CmsSearchIndexSource idxSource : idx.getSources()) {
              html.append("  <li>\n").append("    ").append("name      : ").append(idxSource.getName()).append("\n");
              html.append("  </li>");
  
              html.append("  <li>\n").append("    ").append("indexer   : ").append(
                  idxSource.getIndexerClassName()).append("\n");
              html.append("  </li>");
  
              html.append("  <li>\n").append("    ").append("resources : ").append("\n");
              html.append("    <ul>\n");
              List<String> resources = idxSource.getResourcesNames();
              Iterator<String> itResources = resources.iterator();
              while (itResources.hasNext()) {
                  html.append("    <li>\n").append("      ").append(itResources.next()).append("\n");
                  html.append("    </li>\n");
              }
              html.append("    </ul>\n");
              html.append("  </li>");
  
              html.append("  <li>\n").append("    ").append("doctypes : ").append("\n");
              html.append("    <ul>\n");
              resources = idxSource.getDocumentTypes();
              itResources = resources.iterator();
              while (itResources.hasNext()) {
                  html.append("    <li>\n").append("      ").append(itResources.next()).append("\n");
                  html.append("    </li>\n");
              }
              html.append("    </ul>\n");
              html.append("  </li>");
          }
  
          html.append("</ul>\n");
          item.set(detailId, html.toString());
      }
docs: Fills details of the index source into the given item. <p>
  
  @param item the list item to fill
  @param detailId the id for the detail to fill