|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.bonnie.LuceneConnectionFactory
Allow us to control the concrete class that clients use. Currently the ConcurrentLuceneConnection is in vogue.
| Constructor Summary | |
LuceneConnectionFactory()
|
|
| Method Summary | |
ILuceneConnection |
createLuceneConnection(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer)
Return an instance of ILuceneConnection every time. |
ILuceneConnection |
createLuceneConnection(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer,
ILuceneConnection.Configuration configuration)
Return an instance of ILuceneConnection every time. |
ILuceneConnection |
createLuceneConnection(java.lang.String path,
org.apache.lucene.analysis.Analyzer analyzer)
Return an instance of ILuceneConnection every time. |
ILuceneConnection |
createLuceneConnection(java.lang.String path,
org.apache.lucene.analysis.Analyzer analyzer,
ILuceneConnection.Configuration configuration)
Return an instance of ILuceneConnection every time. |
static LuceneConnectionFactory |
get()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LuceneConnectionFactory()
| Method Detail |
public static LuceneConnectionFactory get()
public ILuceneConnection createLuceneConnection(java.lang.String path,
org.apache.lucene.analysis.Analyzer analyzer,
ILuceneConnection.Configuration configuration)
ILuceneConnection every time.
LuceneException - if the path does not exist.
public ILuceneConnection createLuceneConnection(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer,
ILuceneConnection.Configuration configuration)
ILuceneConnection every time.
LuceneException - if the path does not exist.
public ILuceneConnection createLuceneConnection(java.lang.String path,
org.apache.lucene.analysis.Analyzer analyzer)
ILuceneConnection every time.
LuceneException - if the path does not exist.
public ILuceneConnection createLuceneConnection(org.apache.lucene.store.Directory directory,
org.apache.lucene.analysis.Analyzer analyzer)
ILuceneConnection every time.
LuceneException - if the path does not exist.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||