Re: InstantiationException with PythonHitCollector

2009-09-30 Thread Max Lynch
Awesome that did it! Thanks Andi. I also noticed I wasn't using self in the collect method declaration. On Wed, Sep 30, 2009 at 12:06 PM, Andi Vajda wrote: > > On Wed, 30 Sep 2009, Max Lynch wrote: > > Hi, I am trying to subclass lucene.PythonHitCollector to use the >> HitCollector features

Re: InstantiationException with PythonHitCollector

2009-09-30 Thread Andi Vajda
On Wed, 30 Sep 2009, Andi Vajda wrote: For an example on how to use PythonHitCollector, see: samples/LuceneInAction/HitCollectorTest.py which uses samples/LuceneInAction/BookLinkCollector.py a subclass of PythonHitCollector Sorry, that second path should be: samples/LuceneInAction/lia/ext

Re: InstantiationException with PythonHitCollector

2009-09-30 Thread Andi Vajda
On Wed, 30 Sep 2009, Max Lynch wrote: Hi, I am trying to subclass lucene.PythonHitCollector to use the HitCollector features of Lucene, but I get this error: File "/home/max/test/spider/src/ras/spider/spider.py", line 812, in __init__ super(lucene.PythonHitCollector, self).__init__() lucen