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);
> }
> }
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
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
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
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