code: func (h *Holder) Schema() []*IndexInfo {
  	var a []*IndexInfo
  	for _, index := range h.Indexes() {
  		di := &IndexInfo{Name: index.Name()}
  		for _, field := range index.Fields() {
  			fi := &FieldInfo{Name: field.Name(), Options: field.Options()}
  			for _, view := range field.views() {
  				fi.Views = append(fi.Views, &ViewInfo{Name: view.name})
  			}
  			sort.Sort(viewInfoSlice(fi.Views))
  			di.Fields = append(di.Fields, fi)
  		}
  		sort.Sort(fieldInfoSlice(di.Fields))
  		a = append(a, di)
  	}
  	sort.Sort(indexInfoSlice(a))
  	return a
  }
docs: // Schema returns schema information for all indexes, fields, and views.