Annotation Interface Stats


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface Stats
Statistics definition to be performed within a Query.
Since:
1.4
  • Element Details

    • value

      String[] value
      Returns:
      fields that shall have its statistics returned.
      Default:
      {}
    • facets

      String[] facets
      Returns:
      faceting that shall be returned within statistics result.
      Default:
      {}
    • distinct

      boolean distinct
      Returns:
      if distinct elements shall be calculated
      Default:
      false
    • selective

      SelectiveStats[] selective
      Returns:
      field selective stats parameters.
      Default:
      {}