helper.loopKeys(options, function(obj, key) {
      if ((key !== 'index') && (key !== 'maxResults') && (key !== 'maxDist') &&
          (key !== 'unit') && (key !== 'geoSystem')) {
        throw new errors.ReqlDriverError('Unrecognized option `' + key + '` in `getNearest`', self._query,
          'Available options are index <string>, maxResults <number>, maxDist <number>, unit <string>, ' +