prepare

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

Parses params and prepares the PageFilter for applying.

Parameters

name
  • name of the filter

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

  • "" specifies current page

  • "size" sets number of documents on a page Examples:

  • mapOf(listOf("page") to listOf("2"), listOf("page", "size") to listOf("100"))