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.
Andi..
On Thu, 10 Feb 2005, Nick Arnett wrote:
Andi Vajda wrote:
I think you found a bug, could you please send a bug report with a piece of code that reproduces the problem ?
I don't think this is a bug... just forgetting to change the creation Booleans in PyLucene.FSDirectory.getDirectory and PyLucene.IndexWriter to False. In each case, it's the last Boolean argument passed. Is it a bug that if either one is True, the index is written over?
Nick
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
