public interface BatchIndexer
| Modifier and Type | Method and Description |
|---|---|
void |
updateIndex(String indexId,
String siteName,
org.craftercms.core.service.ContentStoreService contentStoreService,
org.craftercms.core.service.Context context,
List<String> paths,
boolean delete,
IndexingStatus status)
Updates the specified search index with the given batch of files.
|
void updateIndex(String indexId, String siteName, org.craftercms.core.service.ContentStoreService contentStoreService, org.craftercms.core.service.Context context, List<String> paths, boolean delete, IndexingStatus status) throws BatchIndexingException
indexId - 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 usedpaths - the paths in the content store of the files to indexdelete - if the given files should be deleted from the index, otherwise they're addedstatus - status object used to track index updates and deletesBatchIndexingExceptionCopyright © 2017 CrafterCMS. All Rights Reserved.