Package-level declarations
Types
Link copied to clipboard
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
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.
Link copied to clipboard
Factory to build a SearchService
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.