Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Michael McCandless
On Sat, Nov 19, 2011 at 6:34 PM, Andi Vajda wrote: > > On Sat, 19 Nov 2011, Andi Vajda wrote: > I need to take a closer look about what's different with this class. >>> >>> Strange... >>> >>> As long as I pass the analyzer as the 2nd arg (as I'm supposed to!) >>> everything works fine; it's o

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Andi Vajda
On Sat, 19 Nov 2011, Andi Vajda wrote: I need to take a closer look about what's different with this class. Strange... As long as I pass the analyzer as the 2nd arg (as I'm supposed to!) everything works fine; it's only if I leave off that 2nd arg that I hit the SEGV. Wow, you're right. Th

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Andi Vajda
On Sat, 19 Nov 2011, Michael McCandless wrote: On Sat, Nov 19, 2011 at 5:53 PM, Andi Vajda wrote: 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.

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Andi Vajda
On Sat, 19 Nov 2011, Michael McCandless wrote: I need to take a closer look about what's different with this class. Strange... As long as I pass the analyzer as the 2nd arg (as I'm supposed to!) everything works fine; it's only if I leave off that 2nd arg that I hit the SEGV. Wow, that's e

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Michael McCandless
On Sat, Nov 19, 2011 at 5:53 PM, Andi Vajda wrote: > > 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)

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Andi Vajda
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 wou

Re: SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Andi Vajda
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.InvalidArgsErro

SIGSEGV if I give wrong args to IndexWriterConfig ctor

2011-11-19 Thread Michael McCandless
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). N