}
indexDirectory = FSDirectory.open(indexDir, lockFactory);
spellDirectory = FSDirectory.open(spellDir, lockFactory);
ignoredNames = env.getIgnoredNames();
includedNames = env.getIncludedNames();
analyzerGuru = new AnalyzerGuru();
if (env.isGenerateHtml()) {
xrefDir = new File(env.getDataRootFile(), "xref");
}
listeners = new ArrayList<>();
directories = new ArrayList<>();