prepare

open override fun prepare(name: String, paramName: String, params: QueryFilterParams): PreparedAttrBoolFacetFilter

Parses params and prepares the AttrFacetFilter for applying.

Parameters

name
  • name of the filter

params
  • parameters that should be applied to a search query. Examples:

  • mapOf(listOf("attrs", "1") to listOf("true"))

  • mapOf(listOf("attrs", "2") to listOf("false"))