Class GetFacetStatsResult

java.lang.Object
io.fluxcapacitor.common.api.search.GetFacetStatsResult
All Implemented Interfaces:
JsonType, RequestResult

public class GetFacetStatsResult extends Object implements RequestResult
Result returned for a GetFacetStats request.

Contains aggregated counts of documents per facet field value.

  • Constructor Details

    • GetFacetStatsResult

      public GetFacetStatsResult()
  • Method Details

    • toMetric

      public GetFacetStatsResult.Metric toMetric()
      Description copied from interface: JsonType
      Converts this object into a compact metric representation for logging or monitoring.

      Used by the Flux client to avoid logging large payloads directly while still tracking platform usage.

      Specified by:
      toMetric in interface JsonType
      Returns:
      a safe and compact object suitable for serialization to the metrics log