this.index = new RAMDirectory();
this.writer = new IndexWriter(this.index, new IndexWriterConfig(
Version.LUCENE_36, this.analyzer));
this.translator = new DocumentTranslator();
Extensions ext = new Extensions('.');
ext.add("near", new NearParserExtension());
ext.add("erlang", new ErlangParserExtension(this.translator));
ext.add("redis", new RedisParserExtension());
this.extensions = ext;
try {
add(this.translator.convert(new OtpErlangList(new OtpErlangList(