|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.search.provider.lucene.LuceneSearchProviderFactory
public final class LuceneSearchProviderFactory
Factory methods for creating LuceneProviders.
| Field Summary | |
|---|---|
static java.lang.String |
LUCENE_INDEX_DIR_PROP
Name of SearchConfiguration property that holds a directory on classpath where provider looks for lucene index |
| Constructor Summary | |
|---|---|
LuceneSearchProviderFactory()
|
|
| Method Summary | |
|---|---|
static LuceneSearchProvider |
createProviderForGeneratedData(org.eaglei.services.InstitutionRegistry institutionRegistry,
org.eaglei.model.EIOntModel eagleiOntModel,
org.eaglei.search.datagen.DataGenParams datagenParams)
Creates a LuceneProvider for generated data. |
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 LUCENE_INDEX_DIR_PROP
| Constructor Detail |
|---|
public LuceneSearchProviderFactory()
| Method Detail |
|---|
public static LuceneSearchProvider createProviderForGeneratedData(org.eaglei.services.InstitutionRegistry institutionRegistry,
org.eaglei.model.EIOntModel eagleiOntModel,
org.eaglei.search.datagen.DataGenParams datagenParams)
throws java.io.IOException
datagenParams - Generation params
java.io.IOException - Thrown if an error is encountered creating the provider.
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 | ||||||||