|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bonnie.LuceneConnection
com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection
public class ConfluenceLuceneConnection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.atlassian.bonnie.LuceneConnection |
|---|
com.atlassian.bonnie.LuceneConnection.TempIndexWriterData |
| Nested classes/interfaces inherited from interface com.atlassian.bonnie.ILuceneConnection |
|---|
com.atlassian.bonnie.ILuceneConnection.BatchUpdateAction, com.atlassian.bonnie.ILuceneConnection.Configuration, com.atlassian.bonnie.ILuceneConnection.ReaderAction, com.atlassian.bonnie.ILuceneConnection.SearcherAction, com.atlassian.bonnie.ILuceneConnection.WriterAction |
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
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(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory analyzerFactory,
BootstrapManager bootstrapManager)
|
|
| Method Summary | |
|---|---|
java.io.File |
getIndexDir()
|
protected org.apache.lucene.search.IndexSearcher |
getSearcher()
|
java.lang.String |
getTmpDir()
|
boolean |
isSearcherCurrent()
|
void |
refreshSearcher()
|
void |
setBootstrapManager(BootstrapManager bootstrapManager)
|
void |
setTmpDir(java.lang.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 |
|---|
protected static org.apache.log4j.Logger log
| Constructor Detail |
|---|
public ConfluenceLuceneConnection()
public ConfluenceLuceneConnection(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory analyzerFactory,
BootstrapManager bootstrapManager)
| Method Detail |
|---|
public void setBootstrapManager(BootstrapManager bootstrapManager)
public java.io.File getIndexDir()
getIndexDir in class com.atlassian.bonnie.LuceneConnection
public boolean isSearcherCurrent()
throws java.io.IOException
java.io.IOException
protected org.apache.lucene.search.IndexSearcher getSearcher()
throws java.io.IOException
getSearcher in class com.atlassian.bonnie.LuceneConnectionjava.io.IOException
public void refreshSearcher()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getTmpDir()
public void setTmpDir(java.lang.String tmpDir)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||