async mWrite(request) {
    const { index, collection } = request.getIndexAndCollection();
    const documents = request.getBodyArray("documents");
    const strict = request.getBoolean("strict");
    const refresh = request.getRefresh();
    const notify = request.getBoolean("notify");

    const { items, errors } = await this.ask(
      "core:storage:public:document:mCreateOrReplace",
      index,
      collection,
      documents,
      { injectKuzzleMeta: false, limits: false, refresh },
    );

    if (strict && errors.length) {
      throw kerror.get(
        "api",
        "process",
        "incomplete_multiple_request",
        "write",
        errors,
      );
    }

    // @todo next major release: if (successes.length === 0) then throw (no matter strict value)

    if (notify) {
      await global.kuzzle.ask(
        "core:realtime:document:mNotify",
        request,
        actionEnum.WRITE,
        items,
      );
    }

    const successes = items.map((item) => ({
      _id: item._id,
      _source: item._source,
      _version: item._version,
    }));

    return {
      errors,
      successes,
    };
  }
Write several documents without adding metadata or performing data validation.