org.compass.core.lucene.engine.spellcheck
Interface SpellCheckerCallback<T>


public interface SpellCheckerCallback<T>

A callback to perform CompassSpellChecker operations with.

Author:
kimchy

Method Summary
 T execute(CompassSpellChecker spellChecker, IndexReader reader)
          A callback to execute speckk check operations.
 

Method Detail

execute

T execute(CompassSpellChecker spellChecker,
          IndexReader reader)
          throws SearchEngineException
A callback to execute speckk check operations.

Note, this callback might have the spellChecker as null. This means there is no spell index yet present.

Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.