Class SpellcheckHelper
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.lucene.util.SpellcheckHelper
-
public class SpellcheckHelper extends java.lang.Object
Helper class for getting spellcheck results for a given term, calling aDirectSpellChecker
under the hood.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpellcheckHelper.SpellcheckQuery
-
Constructor Summary
Constructors Constructor Description SpellcheckHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SuggestWord[]
getSpellcheck(SpellcheckHelper.SpellcheckQuery spellcheckQuery)
static SpellcheckHelper.SpellcheckQuery
getSpellcheckQuery(java.lang.String spellcheckQueryString, IndexReader reader)
-
-
-
Method Detail
-
getSpellcheck
public static SuggestWord[] getSpellcheck(SpellcheckHelper.SpellcheckQuery spellcheckQuery)
-
getSpellcheckQuery
public static SpellcheckHelper.SpellcheckQuery getSpellcheckQuery(java.lang.String spellcheckQueryString, IndexReader reader)
-
-