prepare

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

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("12", "13"))

  • `mapOf(listOf("attrs", "2", "all") to listOf("101", "102"))