Andi Vajda wrote:


The JavaDoc for FSDirectory.getDirectory() is pretty clear about this:
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/store/FSDirectory.html#getDirectory(java.lang.String,%20boolean)



The files, if they exist, get erased, when create is True.

Right, I understood that. I was asking about strategies for managing this, given that the same code that would create the table, if run a second time, will wipe out the old index without any warning.


If it isn't clear already, I have very little experience with Java. I'm a Python fish in a sea of Java coders, however... ;-)

Nick


_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to