com.atlassian.confluence.search.lucene
Class ConfluenceLuceneConnection
java.lang.Object
com.atlassian.bonnie.LuceneConnection
com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection
- All Implemented Interfaces:
- ILuceneConnection
- public class ConfluenceLuceneConnection
- extends LuceneConnection
Field Summary |
protected static org.apache.log4j.Category |
log
Logger. |
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 |
log
protected static org.apache.log4j.Category log
- Logger.
ConfluenceLuceneConnection
public ConfluenceLuceneConnection()
ConfluenceLuceneConnection
public ConfluenceLuceneConnection(LuceneAnalyzerFactory analyzerFactory,
BootstrapManager bootstrapManager)
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)