code: function near() {
    var args = mlutil.asArray.apply(null, arguments);
    if (args.length < 1) {
      throw new Error('need at least a subquery for near query');
    }
    return new NearDef(args);
  }
docs: Builds a query that matches the subqueries within a specified proximity.
  Note that you may get false positives from a near query if you do not have
  the appropriate position index enabled or run the query unfiltered (which
  is the default). While turning on filtering can be convenient during
  development, setting up indexes is recommended for production.
  @method
  @since 1.0
  @memberof queryBuilder#
  @param {...queryBuilder.Query} subquery - a word, value, range, geospatial,
  or other query or a composer such as an or query.
  @param {number} [distance] - the maximum number of words
  between any two matching subqueries
  @param {queryBuilder.WeightParam} [weight] - a weight returned
  by {@link queryBuilder#weight} to increase or decrease the score
  of subqueries relative to other queries in the complete search
  @param {queryBuilder.OrderParam} [ordering] - the ordering on the subqueries
  returned from {@link queryBuilder#ordered}
  @param {queryBuilder.MinDistanceParam} [minDistance] - the minimum distance
  between any two matching subqueries returned from
  {@link queryBuilder#minDistance}
  @returns {queryBuilder.Query} a composable query