code: func (c *DefaultIndexingChain) startStoredFields() (err error) {
  	var success = false
  	defer func() {
  		if !success {
  			c.docWriter.setAborting()
  		}
  	}()
  
  	if err = c.initStoredFieldsWriter(); err != nil {
  		return
  	}
  	if err = c.storedFieldsWriter.StartDocument(); err != nil {
  		return
  	}
  	success = true
  
  	c.lastStoredDocId++
  	return nil
  }
docs: /* Calls StoredFieldsWriter.startDocument, aborting the segment if it hits any error. */