prepare

open override fun prepare(name: String, params: QueryFilterParams): PreparedFacetRangeFilter<T>

Parses params and prepares the FacetRangeFilter for applying.

Parameters

name
  • name of the filter

params
  • parameters that should be applied to a search query. Supports 2 operations: gte and lte. Examples:

  • mapOf(("price" to "gte") to listOf("10"), ("price" to "lte") to listOf("150")))