public class IdxTreeDictMaker
extends Object
processDir()
method on a directory containing an index. Note that the directory passed
may also be a root directory with many index sub-directories if desired.| Constructor and Description |
|---|
IdxTreeDictMaker() |
| Modifier and Type | Method and Description |
|---|---|
void |
makeDict(File mainIdxDir)
Performs the actual work of creating a spelling dictionary.
|
void |
processDir(File dir)
Create an
IdxTreeDictMaker instance and call this method to
create spelling dictionaries for one or more Lucene indices. |
public void processDir(File dir)
throws Exception
IdxTreeDictMaker instance and call this method to
create spelling dictionaries for one or more Lucene indices. dir - The index database directory to scan. May be a
directory containing a single index, or the root
directory of a tree containing multiple indices.
Exceptionpublic void makeDict(File mainIdxDir)
throws Exception
mainIdxDir - The index database directory to scan. This
directory must contain a single Lucene index.
Exception - Passes back any exceptions generated by Lucene
during the dictionary generation process.