All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rest-api-spec.api.rollup.rollup_search.json Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version
{
  "rollup.rollup_search":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html",
      "description":"Enables searching rolled-up data using the standard query DSL."
    },
    "stability":"experimental",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"],
      "content_type": ["application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/{index}/_rollup_search",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "index":{
              "type":"list",
              "description":"The indices or index-pattern(s) (containing rollup or regular data) that should be searched"
            }
          }
        },
        {
          "path":"/{index}/{type}/_rollup_search",
          "methods":[
            "GET",
            "POST"
          ],
          "parts":{
            "index":{
              "type":"list",
              "description":"The indices or index-pattern(s) (containing rollup or regular data) that should be searched"
            },
            "type":{
              "type":"string",
              "required":false,
              "description":"The doc type inside the index",
              "deprecated":true
            }
          },
          "deprecated":{
            "version":"7.0.0",
            "description":"Specifying types in urls has been deprecated"
          }
        }
      ]
    },
    "params":{
      "typed_keys":{
        "type":"boolean",
        "description":"Specify whether aggregation and suggester names should be prefixed by their respective types in the response"
      },
      "rest_total_hits_as_int":{
        "type":"boolean",
        "description":"Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
        "default":false
      }
    },
    "body":{
      "description":"The search request body",
      "required":true
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy