prepare

open override fun prepare(name: String, paramName: 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(listOf("price", "gte") to listOf("10"), listOf("price", "lte") to listOf("150")))