On Sat, 19 Nov 2011, Andi Vajda wrote:
Hi Mike,
On Sat, 19 Nov 2011, Michael McCandless wrote:
Does anyone else see this?
import lucene
lucene.initVM()
lucene.IndexWriterConfig(lucene.Version.LUCENE_34)
--> SIGSEGV?
IndexWriterConfig expects an analyzer as a 2nd argument... but I would
expect a nice "lucene.InvalidArgsError" instead (that's what I hit if
I pass no args to IWC).
NOTE: it could be I somehow screwed something up... I built PyLucene
off 3.x tip (to be 3.5.0), and enabled the spellchecker module.
I can reproduce this here too and it doesn't look like the missing argument
is the problem. It's crashing when handling the first one...
There's got to be something wrong with IndexWriterConfig's wrapper since
StopAnalyzer(Version.LUCENE_34) works fine and all tests pass.
I need to take a closer look about what's different with this class.
Andi..