code: private String getCommaSeperatedIndexes(Set<String> data) {
  
          Iterator<String> it = data.iterator();
          String res = it.next();
          if (data.size() == 1) {
              return res;
          }
          res += ", ";
          while (it.hasNext()) {
              res += it.next() + ", ";
          }
          res = res.substring(0, res.length() - 2);
          return res;
      }
docs: Creates a comma seperated string with all indexes represented by a string using the CmsSearchindexApp.SEPERATOR_INDEXNAMES.<p>
  
  @param data list of indexes seperated by CmsSearchindexApp.SEPERATOR_INDEXNAMES
  @return string representation of indexes