org.eaglei.lexical.lucene
Class LuceneConfig

java.lang.Object
  extended by org.eaglei.lexical.lucene.LuceneConfig

@Configuration
public class LuceneConfig
extends java.lang.Object

Contains some utility methods for creating common configurations of LuceneEntityExtractionProvider and LuceneIndexer.

Author:
rfrost

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

LuceneConfig

public LuceneConfig()
Method Detail

eagleiModelEntityExtractor

@Bean
public org.eaglei.lexical.EntityExtractionProvider eagleiModelEntityExtractor()
                                                                       throws java.io.IOException
Creates an LuceneEntityExtractionProvider that uses a PorterStemAnalyzer for indexing an querying over an RAMDirectory that is populated using the eagle-i ontology

Throws:
java.io.IOException

eagleiModelSuggestionProvider

@Bean
public org.eaglei.lexical.EntityExtractionProvider eagleiModelSuggestionProvider()
                                                                          throws java.io.IOException
Creates an LuceneEntityExtractionProvider that uses the AutoSuggest Analyzers over an RAMDirectory that is populated using the eagle-i ontology.

Throws:
java.io.IOException


Copyright © 2009-2010 Eagle-I. All Rights Reserved.