code: func (ft *FieldType) String() string {
  	var buf bytes.Buffer
  	if ft.Stored() {
  		buf.WriteString("stored")
  	}
  	if ft.Indexed() {
  		if buf.Len() > 0 {
  			buf.WriteString(",")
  		}
  		buf.WriteString("indexed")
  		if ft.Tokenized() {
  			buf.WriteString(",tokenized")
  		}
  		if ft.StoreTermVectors() {
  			buf.WriteString(",termVector")
  		}
  		if ft.StoreTermVectorOffsets() {
  			buf.WriteString(",termVectorOffsets")
  		}
  		if ft.StoreTermVectorPositions() {
  			buf.WriteString(",termVectorPosition")
  		}
  		if ft.StoreTermVectorPayloads() {
  			buf.WriteString(",termVectorPayloads")
  		}
  		if ft.OmitNorms() {
  			buf.WriteString(",omitNorms")
  		}
  		if ft.IndexOptions() != model.INDEX_OPT_DOCS_AND_FREQS_AND_POSITIONS {
  			fmt.Fprintf(&buf, ",indexOptions=%v", ft.IndexOptions())
  		}
  		if ft.numericType != 0 {
  			fmt.Fprintf(&buf, ",numericType=%v,numericPrecisionStep=%v", ft.numericType, ft.numericPrecisionStep)
  		}
  	}
  	if ft.DocValueType() != 0 {
  		if buf.Len() > 0 {
  			buf.WriteString(",")
  		}
  		fmt.Fprintf(&buf, "docValueType=%v", ft.DocValueType())
  	}
  	return buf.String()
  }
docs: // Prints a Field for human consumption.