Manticore Search · Schema

aggTerms

Object containing term fields to aggregate on

SearchFull-Text SearchVector SearchElasticsearch CompatibleOpen SourceDatabase

Properties

Name Type Description
field string Name of attribute to aggregate by
size integer Maximum number of buckets in the result
View JSON Schema on GitHub

JSON Schema

aggTerms.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/aggTerms.json",
  "title": "aggTerms",
  "description": "Object containing term fields to aggregate on",
  "type": "object",
  "required": [
    "field"
  ],
  "properties": {
    "field": {
      "type": "string",
      "description": "Name of attribute to aggregate by",
      "example": "field1"
    },
    "size": {
      "type": "integer",
      "description": "Maximum number of buckets in the result",
      "example": 1000
    }
  },
  "additionalProperties": false
}