[pylucene-dev] IndexWriter.addIndexes() problems

Yura Smolsky info at altervision.biz
Tue Jan 18 07:49:46 PST 2005


Hello, pylucene-dev.

Andi, I have problem with invoking IndexWriter.addIndexes()

Traceback (most recent call last):
  File "./merge.py", line 9, in ?
    writer.addIndexes(['/home/th/index/things/index04'])
  File "/usr/lib/python2.4/site-packages/PyLucene.py", line 900, in addIndexes
    def addIndexes(*args): return _PyLucene.IndexWriter_addIndexes(*args)
ValueError: Expected a Directory

I have specified correct directory. This thing does not work on
Windows and Linux.

Any tricks to make this run?

Yura Smolsky,





More information about the pylucene-dev mailing list