yes, it's there, bufferSize=0.
On 23-aug-2007, at 6:13, Andi Vajda wrote:
On Wed, 22 Aug 2007, Marc Weeber wrote:
I compiled PyLucene from the SVN trunk in order to also compile
the the Lucene jars myself. Compilation went fine, but the test
scrips failed in some cases. They all were related to openInput.
One such error was:
ERROR: test_getFieldNames (__main__.PythonDirectoryTests)
---------------------------------------------------------------------
-
Traceback (most recent call last):
File "/Users/weeber/Desktop/PyLucene-src-2.2.0-1/test/
test_PyLucene.py", line 276, in test_getFieldNames
reader = IndexReader.open(store)
TypeError: openInput() takes exactly 2 arguments (3 given)
When I look at the lucene.cpp file and compare it to the 2.1
version, I see indeed there have been changes in the method:
static PyObject *j_directory_openInput(j_directory *self, PyObject
*args)
When I change this code back to the 2.1 version, these tests run
fine.
Anyone a more perman ent solution for this?
Also, When I use NXLucene test scripts, it seems to fail on the
PythonDirectory code in cpp/PythonStore. Any ideas to solve this?
My c++ abilities are very limited
On svn trunk, test_PythonDirectory.py at line 128 has an optional
arg that is new in Lucene/PyLucene 2.2. Do have that version ?
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev