FacetFilter

fun <T, V> FacetFilter(field: FieldOperations<V>, name: String? = null, mode: FilterMode = FilterMode.UNION, termsAgg: TermsAgg<T>)

Parameters

field
  • field where values are stored

name
  • optional filter name. If omitted, name of a property will be used

mode
  • mode to use when combining selected values. See FilterMode

termsAgg