Having wiped out my indexes several times while getting familiar with PyLucene, I'm wondering what strategies others are using to avoid this.

I was thinking of using a try/except that tries to write to the index I want to use, and create the index if it throws an error. However, it doesn't seem to throw a Python exception, at least on Windows. It exits with a MSVC++ runtime error, which I'm guessing I can't catch.

I guess I'm just going to write a module whose entire purpose is to create indexes... But I'd like to hear suggestions.

Nick

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

Reply via email to