com.atlassian.confluence.search.lucene
Class ConfluenceLuceneConnection

java.lang.Object
  extended bycom.atlassian.bonnie.LuceneConnection
      extended bycom.atlassian.confluence.search.lucene.ConfluenceLuceneConnection
All Implemented Interfaces:
ILuceneConnection

public class ConfluenceLuceneConnection
extends LuceneConnection


Nested Class Summary
 
Nested classes inherited from class com.atlassian.bonnie.LuceneConnection
LuceneConnection.TempIndexWriterData
 
Nested classes inherited from class com.atlassian.bonnie.ILuceneConnection
ILuceneConnection.BatchUpdateAction, ILuceneConnection.Configuration, ILuceneConnection.ReaderAction, ILuceneConnection.SearcherAction, ILuceneConnection.WriterAction
 
Field Summary
protected static org.apache.log4j.Category log
          Logger.
 
Fields inherited from class com.atlassian.bonnie.LuceneConnection
analyzerForIndexing, LOG, REINDEXING_FILENAME, searcherOpensNewReader, WRITER_BATCH, WRITER_DEFAULT, WRITER_INTERACTIVE
 
Fields inherited from interface com.atlassian.bonnie.ILuceneConnection
DEFAULT_CONFIGURATION
 
Constructor Summary
ConfluenceLuceneConnection()
           
ConfluenceLuceneConnection(LuceneAnalyzerFactory analyzerFactory, BootstrapManager bootstrapManager)
           
 
Method Summary
 File getIndexDir()
           
protected  IndexSearcher getSearcher()
           
 String getTmpDir()
           
 boolean isSearcherCurrent()
           
static void main(String[] args)
           
 void refreshSearcher()
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setTmpDir(String tmpDir)
           
 
Methods inherited from class com.atlassian.bonnie.LuceneConnection
close, flushWriter, getDirectory, getNumDocs, getReader, getWriter, getWriter, isIndexCreated, isReIndexing, leakSearcher, optimize, recreateIndexDirectory, setAlwaysUnlock, setIndexDir, setReIndexing, setSearcherOpensNewReader, shouldCreateIndexDirectory, truncateIndex, unlockIfNeeded, withBatchUpdate, withDeleteAndWrites, withReader, withReaderAndDeletes, withSearch, withWriter, withWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Category log
Logger.

Constructor Detail

ConfluenceLuceneConnection

public ConfluenceLuceneConnection()

ConfluenceLuceneConnection

public ConfluenceLuceneConnection(LuceneAnalyzerFactory analyzerFactory,
                                  BootstrapManager bootstrapManager)
Method Detail

setBootstrapManager

public void setBootstrapManager(BootstrapManager bootstrapManager)

getIndexDir

public File getIndexDir()

isSearcherCurrent

public boolean isSearcherCurrent()
                          throws IOException
Throws:
IOException

getSearcher

protected IndexSearcher getSearcher()
                             throws IOException
Throws:
IOException

refreshSearcher

public void refreshSearcher()
                     throws IOException
Throws:
IOException

getTmpDir

public String getTmpDir()

setTmpDir

public void setTmpDir(String tmpDir)

main

public static void main(String[] args)


Confluence is developed by Atlassian.