{
  "mtermvectors": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-mtermvectors",
      "description": "Get multiple term vectors"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_mtermvectors",
          "methods": [
            "GET",
            "POST"
          ]
        },
        {
          "path": "/{index}/_mtermvectors",
          "methods": [
            "GET",
            "POST"
          ],
          "parts": {
            "index": {
              "type": "string",
              "description": "The index in which the document resides."
            }
          }
        }
      ]
    },
    "params": {
      "ids": {
        "type": "list",
        "description": "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body"
      },
      "term_statistics": {
        "type": "boolean",
        "description": "Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
        "default": false
      },
      "field_statistics": {
        "type": "boolean",
        "description": "Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
        "default": true
      },
      "fields": {
        "type": "list",
        "description": "A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
      },
      "offsets": {
        "type": "boolean",
        "description": "Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
        "default": true
      },
      "positions": {
        "type": "boolean",
        "description": "Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
        "default": true
      },
      "payloads": {
        "type": "boolean",
        "description": "Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
        "default": true
      },
      "preference": {
        "type": "string",
        "description": "Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
      },
      "routing": {
        "type": "list",
        "description": "Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
      },
      "realtime": {
        "type": "boolean",
        "default": true,
        "description": "Specifies if requests are real-time as opposed to near-real-time (default: true)."
      },
      "version": {
        "type": "long",
        "description": "Explicit version number for concurrency control"
      },
      "version_type": {
        "type": "enum",
        "options": [
          "internal",
          "external",
          "external_gte"
        ],
        "description": "Specific version type"
      }
    },
    "body": {
      "description": "Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.",
      "required": false
    }
  }
}
