Version: SG FLX
Community

This is a Technical Preview and should not yet be used in production.

Doc Count Condition

The doc count condition requests the current number of documents in the index and triggers the action execution when the number of documents gets larger than the configured maximum.

Parameters

Parameter Optional Note
max_count false positive integer

Example

{
  "steps": [
    ...
    {
      "name": "active",
      "conditions": [
        ...
        {
          "type": "doc_count",
          "max_count": 1000000
        },
        ...
      ],
      "actions": [ ... ]
    },
    ...
  ]
}


Not what you were looking for? Try the search.