|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.engine.store.AbstractDirectoryStore
org.compass.needle.gigaspaces.store.GigaSpaceDirectoryStore
public class GigaSpaceDirectoryStore
A plugin lucene store for Compass. Uses GigaSpaceDirectory
as Lucene directory implementation.
| Field Summary | |
|---|---|
static String |
BUCKET_SIZE_PROP
|
static String |
FLUSH_RATE_PROP
|
static String |
PROTOCOL
|
| Fields inherited from class org.compass.core.lucene.engine.store.AbstractDirectoryStore |
|---|
log |
| Constructor Summary | |
|---|---|
GigaSpaceDirectoryStore()
|
|
| Method Summary | |
|---|---|
CopyFromHolder |
beforeCopyFrom(String subContext,
String subIndex,
Directory dir)
|
void |
cleanIndex(Directory dir,
String subContext,
String subIndex)
If applicable, cleans the given directory. |
void |
configure(CompassSettings settings)
Configure using the given settings. |
void |
deleteIndex(Directory dir,
String subContext,
String subIndex)
If applicable, deletes the given directory. |
Directory |
open(String subContext,
String subIndex)
Opens a new Directory for the given sub context and sub index. |
String |
suggestedIndexDeletionPolicy()
By default, return null which means let globabl settings to decide what the default
index deletion policy should be. |
| Methods inherited from class org.compass.core.lucene.engine.store.AbstractDirectoryStore |
|---|
afterFailedCopyFrom, afterSuccessfulCopyFrom, close, closeDirectory, indexExists, performScheduledTasks, registerEventListeners, requiresAsyncTransactionalContext, suggestedUseCompoundFile, supportsConcurrentOperations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOCOL
public static final String BUCKET_SIZE_PROP
public static final String FLUSH_RATE_PROP
| Constructor Detail |
|---|
public GigaSpaceDirectoryStore()
| Method Detail |
|---|
public void configure(CompassSettings settings)
throws CompassException
CompassConfigurable
configure in interface CompassConfigurablesettings - The settings for the configured object
CompassException
public Directory open(String subContext,
String subIndex)
throws SearchEngineException
DirectoryStoreDirectory for the given sub context and sub index.
open in interface DirectoryStoreSearchEngineException
public void deleteIndex(Directory dir,
String subContext,
String subIndex)
throws SearchEngineException
DirectoryStore
deleteIndex in interface DirectoryStoredeleteIndex in class AbstractDirectoryStoreSearchEngineException
public void cleanIndex(Directory dir,
String subContext,
String subIndex)
throws SearchEngineException
DirectoryStore
cleanIndex in interface DirectoryStorecleanIndex in class AbstractDirectoryStoreSearchEngineException
public CopyFromHolder beforeCopyFrom(String subContext,
String subIndex,
Directory dir)
throws SearchEngineException
beforeCopyFrom in interface DirectoryStorebeforeCopyFrom in class AbstractDirectoryStoreSearchEngineExceptionpublic String suggestedIndexDeletionPolicy()
AbstractDirectoryStorenull which means let globabl settings to decide what the default
index deletion policy should be.
suggestedIndexDeletionPolicy in interface DirectoryStoresuggestedIndexDeletionPolicy in class AbstractDirectoryStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||