IcuAlgorithm

Implementation of a search Algorithm using ICU components to perform the actual search while taking into account languages specificities.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val options: SearchService.Options

Default value for the search options available with this algorithm. If an option does not have a value, it is not supported by the algorithm.

Functions

Link copied to clipboard
open suspend override fun findRanges(query: String, options: SearchService.Options, text: String, locale: Locale): List<IntRange>

Finds all the ranges of occurrences of the given query in the text.