/**
 * Construct a Multi Match query.
 *
 * @param  {Array}  fields  The field names to query over.
 * @param  {String} query   The query string.
 * @param  {String} type    The type of multi_match query (optional).
 * @return {Object}         Multi Match query.
 */
export default function multiMatchQuery(fields, query, type='best_fields') {
  return {
    multi_match: {
      query: query,
      type: type,
      fields: fields
    }
  }
}

/**
 * Construct a Multi Match query.
 *
 * @param  {Array}  fields  The field names to query over.
 * @param  {String} query   The query string.
 * @param  {String} [type='best_fields']  The type of multi_match query.
 * @return {Object}         Multi Match query.
 */
export default function multiMatchQuery(fields, query, type='best_fields') {
  return {
    multi_match: {
      query: query,
      type: type,
      fields: fields
    }
  }
}

Update multi match query docs
Update multi match query docs

Why:
To conform with jsdocs
http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values

This change addresses the need by:
Updating the doc
