public class

MockIndexer

extends Object
implements ConfluenceIndexer
java.lang.Object
   ↳ com.atlassian.confluence.search.MockIndexer

Class Overview

This indexer does nothing - useful for mocking out all indexing

Summary

Public Constructors
MockIndexer()
Public Methods
void index(Searchable searchable)
Indexes the object without removing any existing copies from the index
void indexIncludingDependents(Searchable searchable)
Add a content object and all its dependents (attachments, comments, children, etc.) to the index
void reIndex(Searchable obj)
Updates an object in the index
void unIndex(Searchable searchable)
Removes any existing copies of the object from the index
void unIndexIncludingDependents(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
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bonnie.Indexer
From interface com.atlassian.confluence.search.ConfluenceIndexer

Public Constructors

public MockIndexer ()

Public Methods

public void index (Searchable searchable)

Indexes the object without removing any existing copies from the index

public void indexIncludingDependents (Searchable searchable)

Add a content object and all its dependents (attachments, comments, children, etc.) to the index

public void reIndex (Searchable obj)

Updates an object in the index

public void unIndex (Searchable searchable)

Removes any existing copies of the object from the index

public void unIndexIncludingDependents (Searchable searchable)

Remove a content object and all its dependents (attachments, comments, children, etc.) from the index

public void unIndexSpace (Space space)

Optimised unindex of all content in a space