public interface BatchIndexer
| Modifier and Type | Method and Description |
|---|---|
void |
updateIndex(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
UpdateSet updateSet,
UpdateStatus updateStatus)
Updates the specified search index with the given batch of files.
|
void updateIndex(org.craftercms.search.service.SearchService searchService,
String indexId,
String siteName,
org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
UpdateSet updateSet,
UpdateStatus updateStatus)
throws BatchIndexingException
searchService - the search service to useindexId - the ID of the index, or null to use a default indexsiteName - the name of the site the files belong tocontentStoreService - the content store service used to retrieve the files and content to indexcontext - the context of the file store being usedupdateSet - the set of files to update/deleteupdateStatus - status object used to track index updates and deletesBatchIndexingExceptionCopyright © 2018 CrafterCMS. All rights reserved.