Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentSearchCountAggregate

example

{"name":"countOfTypes","aggregate":"count","groupBy":[{"property":["type"]}]}

Hierarchy

  • DocumentSearchCountAggregate

Index

Properties

Properties

aggregate

aggregate: "count"

count

example

count

Optional groupBy

List of properties to group the count by. It's currently only possible to group by 0 or 1 properties. If grouping by 0 properties, the aggregate value is the total count of all documents.

name

name: string

User defined name for this aggregate