org.compass.core.lucene.engine.spellcheck
Class DefaultLuceneSearchEngineSpellSuggestions
java.lang.Object
org.compass.core.lucene.engine.spellcheck.DefaultLuceneSearchEngineSpellSuggestions
- All Implemented Interfaces:
- Iterable<String>, SearchEngineSpellSuggestions
public class DefaultLuceneSearchEngineSpellSuggestions
- extends Object
- implements SearchEngineSpellSuggestions
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuceneSearchEngineSpellSuggestions
public DefaultLuceneSearchEngineSpellSuggestions(boolean exists,
String[] suggestions)
isExists
public boolean isExists()
- Description copied from interface:
SearchEngineSpellSuggestions
- Does the word exists within the spell index.
- Specified by:
isExists in interface SearchEngineSpellSuggestions
getSuggestions
public String[] getSuggestions()
- Description copied from interface:
SearchEngineSpellSuggestions
- Returns the list of suggestions.
- Specified by:
getSuggestions in interface SearchEngineSpellSuggestions
iterator
public Iterator<String> iterator()
- Specified by:
iterator in interface Iterable<String>
Copyright (c) 2004-2008 The Compass Project.