@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.
|
getDescription
convertToJournalEntry
SearchIndex 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 of Lucene.default void perform(org.apache.lucene.index.IndexWriter indexWriter) throws IOException
perform
in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
IOException
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences