code: protected void createSuperColumnDocument(EntityMetadata metadata, Object object, Document currentDoc,
          Object embeddedObject, EmbeddableType superColumn, MetamodelImpl metamodel) {
  
          // Add all super column fields into document
          Set<Attribute> attributes = superColumn.getAttributes();
          Iterator<Attribute> iter = attributes.iterator();
          while (iter.hasNext()) {
              Attribute attr = iter.next();
              java.lang.reflect.Field field = (java.lang.reflect.Field) attr.getJavaMember();
              String colName = field.getName();
              String indexName = metadata.getIndexName();
              addFieldToDocument(embeddedObject, currentDoc, field, colName, indexName);
          }
  
          // Add all entity fields to document
          addEntityFieldsToDocument(metadata, object, currentDoc, metamodel);
  
      }
docs: Index super column.
  
  @param metadata
  the metadata
  @param object
  the object
  @param currentDoc
  the current doc
  @param embeddedObject
  the embedded object
  @param superColumn
  the super column
  @param metamodel