Re: General Questions and some Problems

2011-04-25 Thread Simon Willnauer
e.clear(); >  } > >  private void listFiles(File file) { >    if (!file.exists()) { >      System.out.println(file + " does not exist."); >    } >    if (file.isDirectory()) { >      for (File f : file.listFiles()) { >        listFiles(f); >      } >    }

Re: General Questions and some Problems

2011-04-24 Thread Em
Hi Lars, in short, without completly reading through your code, I suggest you to use Solr. Solr is better for beginners like you with little experience in Lucene and Java and gives you many built-in options, from caches to facets - out of the box. Everything you need to use Solr is a Servlet-cont

Re: General Questions and some Problems

2011-04-24 Thread tales
test -- View this message in context: http://lucene.472066.n3.nabble.com/General-Questions-and-some-Problems-tp2858378p2858957.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: General Questions and some Problems

2011-04-24 Thread tales
bump -- View this message in context: http://lucene.472066.n3.nabble.com/General-Questions-and-some-Problems-tp2858378p2858950.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

General Questions and some Problems

2011-04-24 Thread tales
dd(file); } else { System.out.println("Skipped " + filename); } } } /** * Close the index. * @throws java.io.IOException */ public void closeIndex() throws IOException { writer.optimize(); writer.close(); } } -- View this message