Class GetFacetStats

java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.search.GetFacetStats
All Implemented Interfaces:
JsonType

public class GetFacetStats extends Request
Request to retrieve aggregated counts for all facet fields across documents matching the given SearchQuery.

This is useful for generating filter menus, dashboards, or visualizations that break down the search results by key categorical dimensions (e.g., status, region, user role).

Only fields marked with @Facet in the domain model will be considered.

  • Constructor Details

    • GetFacetStats

      public GetFacetStats()