|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eaglei.lexical.lucene.LuceneConfig
@Configuration public class LuceneConfig
Contains some utility methods for creating common configurations of LuceneEntityExtractionProvider and LuceneIndexer.
| Constructor Summary | |
|---|---|
LuceneConfig()
|
|
| Method Summary | |
|---|---|
org.eaglei.lexical.EntityExtractionProvider |
eagleiModelEntityExtractor()
Creates an LuceneEntityExtractionProvider that uses a PorterStemAnalyzer for indexing an querying over an RAMDirectory that is populated using the eagle-i ontology |
org.eaglei.lexical.EntityExtractionProvider |
eagleiModelSuggestionProvider()
Creates an LuceneEntityExtractionProvider that uses the AutoSuggest Analyzers over an RAMDirectory that is populated using the eagle-i ontology. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneConfig()
| Method Detail |
|---|
@Lazy
@Bean
public org.eaglei.lexical.EntityExtractionProvider eagleiModelEntityExtractor()
throws java.io.IOException
java.io.IOException
@Bean
public org.eaglei.lexical.EntityExtractionProvider eagleiModelSuggestionProvider()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||