C D E F G I L O P S

## C

clearIndex() - Method in class org.apache.lucene.search.spell.SpellChecker
  Removes all terms from the spell check index.

## D

Dictionary - Interface in org.apache.lucene.search.spell
  A simple interface representing a Dictionary.

## E

exist(String) - Method in class org.apache.lucene.search.spell.SpellChecker
  Check whether the word exists in the index.

## F

F_WORD - Static variable in class org.apache.lucene.search.spell.SpellChecker
  Field name for each word in the ngram index.
finalize() - Method in class org.apache.lucene.search.spell.SpellChecker
  Closes the internal IndexReader.

## G

getWordsIterator() - Method in interface org.apache.lucene.search.spell.Dictionary
  Return all words present in the dictionary
getWordsIterator() - Method in class org.apache.lucene.search.spell.LuceneDictionary
getWordsIterator() - Method in class org.apache.lucene.search.spell.PlainTextDictionary

## I

indexDictionary(Dictionary) - Method in class org.apache.lucene.search.spell.SpellChecker
  Index a Dictionary

## L

LuceneDictionary - Class in org.apache.lucene.search.spell
  Lucene Dictionary: terms taken from the given field of a Lucene index.
LuceneDictionary(IndexReader, String) - Constructor for class org.apache.lucene.search.spell.LuceneDictionary

## O

org.apache.lucene.search.spell - package org.apache.lucene.search.spell
  Suggest alternate spellings for words.

## P

PlainTextDictionary - Class in org.apache.lucene.search.spell
  Dictionary represented by a text file.
PlainTextDictionary(File) - Constructor for class org.apache.lucene.search.spell.PlainTextDictionary
PlainTextDictionary(InputStream) - Constructor for class org.apache.lucene.search.spell.PlainTextDictionary
PlainTextDictionary(Reader) - Constructor for class org.apache.lucene.search.spell.PlainTextDictionary
  Create a dictionary based on a reader.

## S

setAccuracy(float) - Method in class org.apache.lucene.search.spell.SpellChecker
  Sets the accuracy 0 < minScore < 1; default 0.5
setSpellIndex(Directory) - Method in class org.apache.lucene.search.spell.SpellChecker
  Use a different index as the spell checker index or re-open the existing index if `spellIndex` is the same value as given in the constructor.
SpellChecker - Class in org.apache.lucene.search.spell
  Spell Checker class (Main class)
  (initially inspired by the David Spencer code).
SpellChecker(Directory) - Constructor for class org.apache.lucene.search.spell.SpellChecker
  Use the given directory as a spell checker index.
suggestSimilar(String, int) - Method in class org.apache.lucene.search.spell.SpellChecker
  Suggest similar words.
suggestSimilar(String, int, IndexReader, String, boolean) - Method in class org.apache.lucene.search.spell.SpellChecker
  Suggest similar words (optionally restricted to a field of an index).

C D E F G I L O P S

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.