org.compass.core.lucene.engine.highlighter
Class DefaultLuceneHighlighterFactory

java.lang.Object
  extended by org.compass.core.lucene.engine.highlighter.DefaultLuceneHighlighterFactory
All Implemented Interfaces:
LuceneHighlighterFactory

public class DefaultLuceneHighlighterFactory
extends Object
implements LuceneHighlighterFactory

Author:
kimchy

Constructor Summary
DefaultLuceneHighlighterFactory()
           
 
Method Summary
protected  Encoder createEncoder(String highlighterName, CompassSettings settings)
           
protected  Formatter createFormatter(String highlighterName, CompassSettings settings)
           
 LuceneHighlighterSettings createHighlighterSettings(String highlighterName, CompassSettings settings)
           
protected  boolean formatterRequiresToComputeIdf(Formatter formatter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLuceneHighlighterFactory

public DefaultLuceneHighlighterFactory()
Method Detail

createHighlighterSettings

public LuceneHighlighterSettings createHighlighterSettings(String highlighterName,
                                                           CompassSettings settings)
                                                    throws SearchEngineException
Specified by:
createHighlighterSettings in interface LuceneHighlighterFactory
Throws:
SearchEngineException

formatterRequiresToComputeIdf

protected boolean formatterRequiresToComputeIdf(Formatter formatter)

createEncoder

protected Encoder createEncoder(String highlighterName,
                                CompassSettings settings)
                         throws SearchEngineException
Throws:
SearchEngineException

createFormatter

protected Formatter createFormatter(String highlighterName,
                                    CompassSettings settings)
                             throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.