[pylucene-dev] displaying a large number of hits
vajda at osafoundation.org
Mon Apr 25 13:44:18 PDT 2005
Can you send in code and data to reproduce the problem ?
On Mon, 25 Apr 2005 ticino at hccnet.nl wrote:
> I have tried the new version, but the error remains the same one.
> Andi Vajda wrote:
>> You may have hit the bug I fixed last Wednesday. Some objects would get
>> garbage collected too early. Could you please try the win32 build I
>> uploaded to
>> and see if that solves the problem you encountered ?
>> Thanks !
>> On Sun, 24 Apr 2005 ticino at hccnet.nl wrote:
>>> I have filled PyLucene (version 0.9.8) with several documents containing
>>> six fields. Searching and displaying hits works fine with 11 documents,
>>> returning the hits with doc(i).get("fieldName"), but when I go higher than
>>> 20 documents or so I get back an error on these doc.hits. It still
>>> displays the number of hits, but no documents and fields. I have used a
>>> very basic IndexWriter and IndexSearcher. I am running Python 2.4 on
>>> Windows XP (SP2).
>>> What is wrong here?
>>> Henk L.
>>> Searched for: a* Hits: 22
>>> Traceback (most recent call last):
>>> line 310, in RunScript
>>> exec codeObject in __main__.__dict__
>>> File "C:\Projecten\Onderzoek\Programmeren\SearchPyLucene.py", line 114, in
>>> File "C:\Projecten\Onderzoek\Programmeren\SearchPyLucene.py", line 106, in
>>> print 'Found in',
>>> File "PyLucene.py", line 2135, in doc
>>> def doc(*args): return _PyLucene.Hits_doc(*args)
>>> JavaError: java.io.IOException: The handle is invalid.
>>> pylucene-dev mailing list
>>> pylucene-dev at osafoundation.org
More information about the pylucene-dev