Package-level declarations

Types

Link copied to clipboard
sealed class SearchError : Error

Represents an error which might occur during a search activity.

Link copied to clipboard

Iterates through search results.

Link copied to clipboard

Provides a way to search terms in a publication.

Link copied to clipboard
Link copied to clipboard
class StringSearchService(manifest: Manifest, container: Container<Resource>, services: PublicationServicesHolder, language: String?, snippetLength: Int, searchAlgorithm: StringSearchService.Algorithm, extractorFactory: ResourceContentExtractor.Factory) : SearchService

Base implementation of SearchService iterating through the content of Publication's resources.

Properties

Link copied to clipboard

Indicates whether the content of this publication can be searched.

Link copied to clipboard

Default value for the search options of this publication.

Functions

Link copied to clipboard
suspend fun Publication.search(query: String, options: SearchService.Options? = null): SearchIterator?

Starts a new search through the publication content, with the given query.