org.compass.core.lucene.engine.similarity
Class LuceneSimilarityManager

java.lang.Object
  extended by org.compass.core.lucene.engine.similarity.LuceneSimilarityManager
All Implemented Interfaces:
CompassConfigurable

public class LuceneSimilarityManager
extends Object
implements CompassConfigurable

A Similarity manager managing both the index Similarity and search Similarity.

Author:
kimchy

Constructor Summary
LuceneSimilarityManager()
           
 
Method Summary
 void configure(CompassSettings settings)
          Configure using the given settings.
 Similarity getIndexSimilarity()
          Returns the index similarity.
 Similarity getSearchSimilarity()
          Returns the search similarity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSimilarityManager

public LuceneSimilarityManager()
Method Detail

configure

public void configure(CompassSettings settings)
               throws CompassException
Description copied from interface: CompassConfigurable
Configure using the given settings.

Specified by:
configure in interface CompassConfigurable
Parameters:
settings - The settings for the configured object
Throws:
CompassException

getIndexSimilarity

public Similarity getIndexSimilarity()
Returns the index similarity.


getSearchSimilarity

public Similarity getSearchSimilarity()
Returns the search similarity.



Copyright (c) 2004-2008 The Compass Project.