Facet Data Type

Requests a facet with the search result.

Properties
name data type constraints description
field string   The field to facet on.
size number required int The number of facets to return.

Example

{
  "field" : "birthPlace",
  "size" : 3
}