[pylucene-dev] optimize in 2.0.0
vajda at osafoundation.org
Tue Jul 11 12:23:20 PDT 2006
On Tue, 11 Jul 2006, Yura Smolsky wrote:
> I have tried optimize() method of IndexWriter on old index created by
> Pylucene 1.4.3. Actually it does not changes index at all.
> Maybe I am doing something wrong?
> import PyLucene
> store = PyLucene.FSDirectory.getDirectory(sys.argv, False)
> writer = PyLucene.IndexWriter(store, PyLucene.StandardAnalyzer(), False)
Maybe the index was already optimized ?
Maybe you found a bug in Java Lucene ? Can you try this with Java Lucene 2.0 ?
More information about the pylucene-dev