SearchConfiguration

Class containing search configuration properties.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class Builder
Builder to create SearchConfiguration instances.

Properties

Link copied to clipboard
Default number of preview characters extracted with every search result.
Link copied to clipboard
Default number of characters after which the search starts.
Link copied to clipboard
Default value for whether the search should start on the current page or not.
Link copied to clipboard
val UNLIMITED_SEARCH_RESULTS: Int = 2147483647
Used as argument for maxSearchResults to turn off search result limiting.

Functions

Link copied to clipboard
Returns maximum search results.
Link copied to clipboard
abstract fun getSnippetLength(): Int
Returns the search snippet length, which is a number of letters displayed in the search result preview.
Link copied to clipboard
abstract fun getStartSearchChars(): Int
Returns the number of letter after which the search starts.
Link copied to clipboard
Returns true if the search should be started on the current page, false to start from the beginning.