code: func (q *HasChildQuery) ScoreMode(scoreMode string) *HasChildQuery {
  	q.scoreMode = scoreMode
  	return q
  }
docs: // ScoreMode defines how the scores from the matching child documents
  // are mapped into the parent document. Allowed values are: min, max,
  // avg, or none.