|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.search.config.SearchProperties
org.eaglei.search.provider.lucene.LuceneSearchProviderProperties
public final class LuceneSearchProviderProperties
Extension of SearchProperties that contains properties for the LuceneProvider.
| Field Summary | |
|---|---|
static long |
DEFAULT_UPDATE_FREQ
Default update frequency |
static java.lang.String |
LUCENE_INDEX_DIR_PROP
Name of SearchConfiguration property that holds a directory on classpath where provider looks for lucene index |
static java.lang.String |
UPDATE_FREQUENCY
System property that holds the index update frequency in msec. |
| Fields inherited from class org.eaglei.search.config.SearchProperties |
|---|
CENTRAL, CENTRAL_INDEX, SEARCH_TEST, USE_INDEXER_THREAD |
| Constructor Summary | |
|---|---|
LuceneSearchProviderProperties()
|
|
| Method Summary | |
|---|---|
static org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Creates the Lucene Analyzer to use for searching and indexing. |
static org.apache.lucene.store.Directory |
getDirectory()
Retrieves the Lucene Directory to use as a search index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UPDATE_FREQUENCY
public static final long DEFAULT_UPDATE_FREQ
public static final java.lang.String LUCENE_INDEX_DIR_PROP
| Constructor Detail |
|---|
public LuceneSearchProviderProperties()
| Method Detail |
|---|
public static org.apache.lucene.store.Directory getDirectory()
throws java.io.IOException
java.io.IOException - Thrown if an error is encountered.public static org.apache.lucene.analysis.Analyzer getAnalyzer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||