org.compass.core.lucene.engine.analyzer.synonym
Interface SynonymLookupProvider

All Superinterfaces:
CompassConfigurable

public interface SynonymLookupProvider
extends CompassConfigurable

An implementation for a synonym lookup. Provides a list of synonyms for a given value.

Most of the time, the synonym data will be lookup up during the configuration process (CompassConfigurable.configure(org.compass.core.config.CompassSettings), using the dedicated settings that will "point" to the location of the synonym data (i.e. a simple file path location for synonyms).

Author:
kimchy

Method Summary
 String[] lookupSynonyms(String value)
          Returns a list of synonyms for the given value.
 
Methods inherited from interface org.compass.core.config.CompassConfigurable
configure
 

Method Detail

lookupSynonyms

String[] lookupSynonyms(String value)
Returns a list of synonyms for the given value.



Copyright (c) 2004-2008 The Compass Project.