com.atlassian.bonnie.search
Class LuceneIndexer

java.lang.Object
  extended bycom.atlassian.bonnie.search.LuceneIndexer
All Implemented Interfaces:
Indexer

public class LuceneIndexer
extends java.lang.Object
implements Indexer

This Indexer is responsible for indexing objects to Lucene.


Field Summary
static org.apache.log4j.Category LOG
           
 
Constructor Summary
LuceneIndexer()
           
 
Method Summary
 void index(Searchable obj)
           
 void reIndex(Searchable obj)
           
 void setDocumentBuilder(DocumentBuilder documentBuilder)
           
 void setLuceneConnection(LuceneConnection luceneConnection)
           
 void unIndex(Searchable obj)
           
 void unIndexAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Category LOG
Constructor Detail

LuceneIndexer

public LuceneIndexer()
Method Detail

index

public void index(Searchable obj)
Specified by:
index in interface Indexer

unIndex

public void unIndex(Searchable obj)
Specified by:
unIndex in interface Indexer

reIndex

public void reIndex(Searchable obj)
Specified by:
reIndex in interface Indexer

unIndexAll

public void unIndexAll()

setLuceneConnection

public void setLuceneConnection(LuceneConnection luceneConnection)

setDocumentBuilder

public void setDocumentBuilder(DocumentBuilder documentBuilder)


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