|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ThreadSafe public interface LuceneConfiguration

Interface used to obtain the Lucene Directory instance that should be used for a workspace given the name of the
workspace. There are several implementations (see LuceneConfigurations), but custom implementations can always be
used.
| Method Summary | |
|---|---|
boolean |
destroyDirectory(String workspaceName,
String indexName)
Destroy the Directory that is used for the workspace with the supplied name. |
org.apache.lucene.store.Directory |
getDirectory(String workspaceName,
String indexName)
Get the Directory that should be used for the workspace with the supplied name. |
| Method Detail |
|---|
org.apache.lucene.store.Directory getDirectory(String workspaceName,
String indexName)
throws SearchEngineException
Directory that should be used for the workspace with the supplied name.
workspaceName - the workspace nameindexName - the name of the index to be created
IllegalArgumentException - if the workspace name is null
SearchEngineException - if there is a problem creating the directory
boolean destroyDirectory(String workspaceName,
String indexName)
throws SearchEngineException
Directory that is used for the workspace with the supplied name.
workspaceName - the workspace nameindexName - the name of the index to be created
IllegalArgumentException - if the workspace name is null
SearchEngineException - if there is a problem creating the directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||