Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Newly Introduced Properties in ChartApiConfig

TodaysCollection

Posssible Vaues: true/false

...

Code Block
{
  "aggs": {
    "AGGR": {
      "filter": {
        "bool": {}
      },
      "aggs": {
        "todaysDate": {
          "terms": {
            "field": "date",
            "order": {
              "_term": "desc"
            },
            "size": 1
          },
          "aggs": {
            "Todays Collection": {
              "sum": {
                "field": "todaysCollectionForPaymentMode"
              }
            }
          }
        },
        "lastUpdatedTime": {
          "terms": {
            "field": "lastModifiedTime",
            "order": {
              "_term": "desc"
            },
            "size": 1
          }
        }
      }
    }
  }
}

preActionTheory

Posssible Vaues: Map with the key as one of the aggregationPaths and value as compute Helper

...