Class RebuildIndexTask
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.tasks.RebuildIndexTask
-
- All Implemented Interfaces:
SearchIndexerImpl.Task,Runnable
public class RebuildIndexTask extends Object implements SearchIndexerImpl.Task
Get the URIs of all individuals in the model. Update each of their search documents. Delete all search documents that have not been updated since this rebuild began. That removes all obsolete documents from the index.
-
-
Constructor Summary
Constructors Constructor Description RebuildIndexTask(SearchIndexerImpl.IndexerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchIndexerStatusgetStatus()voidnotifyWorkUnitCompletion(Runnable workUnit)voidrun()StringtoString()
-
-
-
Constructor Detail
-
RebuildIndexTask
public RebuildIndexTask(SearchIndexerImpl.IndexerConfig config)
-
-
Method Detail
-
getStatus
public SearchIndexerStatus getStatus()
- Specified by:
getStatusin interfaceSearchIndexerImpl.Task
-
notifyWorkUnitCompletion
public void notifyWorkUnitCompletion(Runnable workUnit)
- Specified by:
notifyWorkUnitCompletionin interfaceSearchIndexerImpl.Task
-
-