com.atlassian.confluence.search.lucene
Class QueuingConfluenceIndexer

java.lang.Object
  extended by com.atlassian.confluence.search.lucene.QueuingConfluenceIndexer
All Implemented Interfaces:
com.atlassian.bonnie.Indexer, ConfluenceIndexer

public class QueuingConfluenceIndexer
extends Object
implements ConfluenceIndexer


Constructor Summary
QueuingConfluenceIndexer()
           
 
Method Summary
 void index(com.atlassian.bonnie.Searchable searchable)
          Index the specified searchable object
 void indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
          Add a content object and all its dependents (attachments, comments, children, etc.) to the index
 void reIndex(com.atlassian.bonnie.Searchable searchable)
          Updates an object in the index
 void setChangeIndexer(ChangeIndexer changeIndexer)
           
 void setIndexerControl(IndexerControl indexerControl)
           
 void setIndexTaskFactory(IndexTaskFactory indexTaskFactory)
           
 void setTaskQueue(IndexTaskQueue taskQueue)
           
 void unIndex(com.atlassian.bonnie.Searchable searchable)
          Removes any existing copies of the object from the index
 void unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
          Remove a content object and all its dependents (attachments, comments, children, etc.) from the index
 void unIndexSpace(Space space)
          Optimised unindex of all content in a space
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueuingConfluenceIndexer

public QueuingConfluenceIndexer()
Method Detail

unIndexSpace

public void unIndexSpace(Space space)
Description copied from interface: ConfluenceIndexer
Optimised unindex of all content in a space

Specified by:
unIndexSpace in interface ConfluenceIndexer

unIndexIncludingDependents

public void unIndexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
Description copied from interface: ConfluenceIndexer
Remove a content object and all its dependents (attachments, comments, children, etc.) from the index

Specified by:
unIndexIncludingDependents in interface ConfluenceIndexer

unIndex

public void unIndex(com.atlassian.bonnie.Searchable searchable)
Description copied from interface: ConfluenceIndexer
Removes any existing copies of the object from the index

Specified by:
unIndex in interface com.atlassian.bonnie.Indexer
Specified by:
unIndex in interface ConfluenceIndexer

reIndex

public void reIndex(com.atlassian.bonnie.Searchable searchable)
Description copied from interface: ConfluenceIndexer
Updates an object in the index

Specified by:
reIndex in interface com.atlassian.bonnie.Indexer
Specified by:
reIndex in interface ConfluenceIndexer

indexIncludingDependents

public void indexIncludingDependents(com.atlassian.bonnie.Searchable searchable)
Description copied from interface: ConfluenceIndexer
Add a content object and all its dependents (attachments, comments, children, etc.) to the index

Specified by:
indexIncludingDependents in interface ConfluenceIndexer

index

public void index(com.atlassian.bonnie.Searchable searchable)
Index the specified searchable object

Specified by:
index in interface com.atlassian.bonnie.Indexer
Specified by:
index in interface ConfluenceIndexer

setTaskQueue

public void setTaskQueue(IndexTaskQueue taskQueue)

setIndexTaskFactory

public void setIndexTaskFactory(IndexTaskFactory indexTaskFactory)

setIndexerControl

public void setIndexerControl(IndexerControl indexerControl)

setChangeIndexer

public void setChangeIndexer(ChangeIndexer changeIndexer)


Copyright © 2003–2015 Atlassian. All rights reserved.