org.compass.core.engine
Interface SearchEngineAnalyzerHelper

All Known Implementing Classes:
LuceneSearchEngineAnalyzerHelper

public interface SearchEngineAnalyzerHelper

Author:
kimchy

Method Summary
 CompassToken[] analyze(Reader textReader)
           
 CompassToken[] analyze(String text)
           
 CompassToken[] analyze(String propertyName, Reader textReader)
           
 CompassToken[] analyze(String propertyName, String text)
           
 CompassToken analyzeSingle(String text)
           
 SearchEngineAnalyzerHelper setAnalyzer(Resource resource)
           
 SearchEngineAnalyzerHelper setAnalyzer(String analyzerName)
           
 SearchEngineAnalyzerHelper setAnalyzerByAlias(String alias)
           
 

Method Detail

setAnalyzer

SearchEngineAnalyzerHelper setAnalyzer(String analyzerName)
                                       throws SearchEngineException
Throws:
SearchEngineException

setAnalyzer

SearchEngineAnalyzerHelper setAnalyzer(Resource resource)
                                       throws SearchEngineException
Throws:
SearchEngineException

setAnalyzerByAlias

SearchEngineAnalyzerHelper setAnalyzerByAlias(String alias)
                                              throws SearchEngineException
Throws:
SearchEngineException

analyzeSingle

CompassToken analyzeSingle(String text)
                           throws SearchEngineException
Throws:
SearchEngineException

analyze

CompassToken[] analyze(String text)
                       throws SearchEngineException
Throws:
SearchEngineException

analyze

CompassToken[] analyze(String propertyName,
                       String text)
                       throws SearchEngineException
Throws:
SearchEngineException

analyze

CompassToken[] analyze(Reader textReader)
                       throws SearchEngineException
Throws:
SearchEngineException

analyze

CompassToken[] analyze(String propertyName,
                       Reader textReader)
                       throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.