@Deprecated public class BulkWriteIndexTask extends Object implements ConfluenceIndexTask
| Constructor and Description |
|---|
BulkWriteIndexTask(List<ConfluenceIndexTask> writeIndexTasks)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Deprecated.
Convert to journal entry.
|
String |
getDescription()
Deprecated.
A description of the task that can be presented to the user via the UI.
|
SearchIndex |
getSearchIndex()
Deprecated.
|
List<ConfluenceIndexTask> |
getWriteIndexTasks()
Deprecated.
|
void |
perform(org.apache.lucene.index.IndexWriter writer)
Deprecated.
|
public BulkWriteIndexTask(List<ConfluenceIndexTask> writeIndexTasks)
writeIndexTasks - writer index tasks. Required.IllegalArgumentException - when writeIndexTasks is nullIllegalArgumentException - when all writeIndexTasks do not have the same SearchIndexpublic String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(org.apache.lucene.index.IndexWriter writer)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic List<ConfluenceIndexTask> getWriteIndexTasks()
public SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write toCopyright © 2003–2021 Atlassian. All rights reserved.