fields = didyoumean.getDym_fields();
}
try {
for (String fieldname : fields) {
LuceneDictionary dict = new LuceneDictionary(sourceReader, fieldname);
spellchecker.indexDictionary(dict);
}
} finally {
if (sourceAccessor != null && sourceReader != null) {
sourceAccessor.release(sourceReader, false);
}