com.atlassian.bonnie.index
Interface SingleObjectIndexer

All Known Implementing Classes:
OnlineMultiThreadedIndexer

public interface SingleObjectIndexer

Indexes/unindexes single objects.


Method Summary
 void index(java.lang.Object o)
          Add an object to the index.
 void setLuceneConnection(LuceneConnection luceneConnection)
           
 void setObjectToDocumentConverter(ObjectToDocumentConverter objectToDocumentConverter)
           
 void unindex(java.lang.Object o)
          Remove an object from the index.
 

Method Detail

index

public void index(java.lang.Object o)
Add an object to the index. Calls unindex(java.lang.Object) before the object is added.

Parameters:
o -

unindex

public void unindex(java.lang.Object o)
Remove an object from the index.

Parameters:
o -

setLuceneConnection

public void setLuceneConnection(LuceneConnection luceneConnection)

setObjectToDocumentConverter

public void setObjectToDocumentConverter(ObjectToDocumentConverter objectToDocumentConverter)


Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.