public class

RebuildChangeDocumentsIndexTask

extends Object
implements HandleAware ConfluenceIndexTask
java.lang.Object
   ↳ com.atlassian.confluence.search.lucene.tasks.RebuildChangeDocumentsIndexTask

Class Overview

Responsible for rebuilding all change document(s) for a searchable (removing change documents for all versions of the searchable and then adding them back).

Summary

Public Constructors
RebuildChangeDocumentsIndexTask(Searchable searchable, ContentEntityObjectDao contentEntityObjectDao, AttachmentManager attachmentManager, IndexTaskFactory indexTaskFactory)
Constructs a rebuild change document index task.
Public Methods
boolean equals(Object obj)
String getDescription()
A description of the task that can be presented to the user via the UI.
Handle getHandle()
int hashCode()
void perform(IndexWriter writer)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bonnie.ILuceneConnection.WriterAction
From interface com.atlassian.confluence.search.HandleAware
From interface com.atlassian.confluence.search.IndexTask

Public Constructors

public RebuildChangeDocumentsIndexTask (Searchable searchable, ContentEntityObjectDao contentEntityObjectDao, AttachmentManager attachmentManager, IndexTaskFactory indexTaskFactory)

Constructs a rebuild change document index task.

Parameters
indexTaskFactory

Public Methods

public boolean equals (Object obj)

public String getDescription ()

A description of the task that can be presented to the user via the UI.

Returns
  • an readable message.

public Handle getHandle ()

public int hashCode ()

public void perform (IndexWriter writer)

Throws
IOException