Companion
object Companion
Content copied to clipboard
Functions
invoke
Link copied to clipboard
operator fun <T> invoke(field: <ERROR CLASS><T>, name: String? = null, mode: FacetFilterMode = FacetFilterMode.UNION): FacetFilter<T, T>
Content copied to clipboard
A shortcut to create a FacetFilter without a custom terms aggregation.
operator fun <T> invoke(field: <ERROR CLASS><T>, name: String? = null, mode: FacetFilterMode = FacetFilterMode.UNION, termsAggFactory: (<ERROR CLASS><T>) -> <ERROR CLASS><T>): FacetFilter<T, T>
Content copied to clipboard
A shortcut to create a FacetFilter with a custom terms aggregation using a lambda which accepts filter's FacetFilter.field and returns the aggregation.