IndexableDataProviderEngineLayer

interface IndexableDataProviderEngineLayer

Provides a mechanism for search index changes in core layers. One core layer can be associated with several search engines.

Functions

add
Link copied to clipboard
abstract fun add(record: IndexableRecord)
Adds IndexableRecord to search index.
addAll
Link copied to clipboard
abstract fun addAll(records: Iterable<IndexableRecord>)
Adds a bunch of IndexableRecord to search index.
clear
Link copied to clipboard
abstract fun clear()
Clears the whole search index.
remove
Link copied to clipboard
abstract fun remove(id: String)
Removes IndexableRecord with specified id from search index.
update
Link copied to clipboard
abstract fun update(record: IndexableRecord)
Updates IndexableRecord in search index.