(crawlConfig.getFreshIndex() == 0) ? false: true;
try
{
fsd = FSDirectory.getDirectory(new File(Constants.getINDEXDIR()), freshIndex);
analyzer = new StandardBgramAnalyzer(); iw = new IndexWriter(fsd, analyzer, freshIndex);
iw.setSimilarity(new SearchSimilarity());
ctRef.setIw(iw);
}
catch (IOException ie) { ctRef.cleanUp("Could not get IndexWriter " + ie.getMessage() ); }
//*-- create the spell checker