public class IndexDirectoryBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
buildIndex(File indexDir,
List<File> gazetteerFiles,
File altNamesFile) |
static void |
main(String[] args)
Turns a GeoNames gazetteer file into a Lucene index, and adds
some supplementary gazetteer records at the end.
|
public void buildIndex(File indexDir, List<File> gazetteerFiles, File altNamesFile) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
args - not usedIOExceptionCopyright © 2012–2016 Berico Technologies. All rights reserved.