On 10 Nov, Andi Vajda wrote:
> 
> I am pleased to announce the availability of Apache PyLucene 2.9.1.
> 

Thanks Andi!

Unfortunately Lucence-3.0.0 breaks old scripts.
E.g. 
make test 
fails with
cd samples/LuceneInAction; 
PYTHONPATH=/Src/Src/Python/App/Searching/PyLucene/pylucene-build/build/test 
/usr/bin/python index.py
/home/jarausch/Python/App/Searching/PyLucene/pylucene-build/samples/LuceneInAction
Traceback (most recent call last):
  File "index.py", line 12, in <module>
    False)
  File 
"/Src/Src/Python/App/Searching/PyLucene/pylucene-build/samples/LuceneInAction/lia/common/TestDataDocumentHandler.py",
 line 29, in createIndex
    writer = IndexWriter(indexDir, StandardAnalyzer(), True)
lucene.InvalidArgsError: (<type 'StandardAnalyzer'>, '__init__', ())
make: *** [samples/LuceneInAction/index] Error 1

There some changes, e.g. FSDirectory.getDirectory vanished and the call
to IndexWriter seems to have changed, as well.
Is there an upgrade guide?

Many thanks for a hint,
Helmut.

svn info
Path: .
URL: http://svn.apache.org/repos/asf/lucene/pylucene
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 881797
Node Kind: directory
Schedule: normal
Last Changed Author: vajda
Last Changed Rev: 834526
Last Changed Date: 2009-11-10 17:12:06 +0100 (Tue, 10 Nov 2009)

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Reply via email to