@Internal public interface ConfluenceIndexTask extends IndexTask, com.atlassian.bonnie.ILuceneConnection.WriterAction, ConvertibleToJournalEntry
| Modifier and Type | Method and Description |
|---|---|
SearchIndex |
getSearchIndex() |
default Map<SearchIndex,SearchIndexAccessor> |
getSearchIndexAccessor()
Temporary method used by
perform(IndexWriter)to maintain back compatibility with CQ. |
default void |
perform(org.apache.lucene.index.IndexWriter indexWriter) |
void |
perform(SearchIndexWriter searchIndexWriter)
Executes this task against a document writer.
|
getDescriptionconvertToJournalEntrySearchIndex getSearchIndex()
SearchIndex that the task should write tovoid perform(SearchIndexWriter searchIndexWriter) throws IOException
IOException@Internal default Map<SearchIndex,SearchIndexAccessor> getSearchIndexAccessor()
perform(IndexWriter)to maintain back compatibility with CQ. It will be removed
along with ILuceneConnection.WriterAction once CQ is migrated to be independent from Lucene.default void perform(org.apache.lucene.index.IndexWriter indexWriter)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionCopyright © 2003–2021 Atlassian. All rights reserved.