Re: NullPointerException in DataImportHandler

2009-07-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
? it does not use javax.xml because those work on a DOM tree which is not usable for large xml files. This only supports a subset of xpath. The supported syntax is given here http://wiki.apache.org/solr/DataImportHandler#head-5ced7c797f1014ef6e8326a34c23f541ebbaadf1-2 > > Thanks, > > Andrew. &

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Chantal Ackermann
an error... Hmm... Cheers, Andrew. -- View this message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24741772.html Sent from the Solr - User mailing list archive at Nabble.com. -- Chantal Ackermann Consultant mobil+49 (176) 10 00 09 45 email

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Erik Hatcher
On Jul 30, 2009, at 12:19 PM, Andrew Clegg wrote: Don't worry -- your hints put me on the right track :-) I got it working with: Now, to get it to ignore missing files without an error... Hmm... onError="skip" or abort, or continue Erik

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Andrew Clegg
hout an error... Hmm... Cheers, Andrew. -- View this message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24741772.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Andrew Clegg
rhaps? > > Sadly not... I tried with: (full path from root) and Same ArrayIndex error each time. Doesn't it use javax.xml then? I was using the complex local-name expressions to make it namespace-agnostic -- is it agnostic anyway? Thanks, Andrew.

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Chantal Ackermann
Thanks in advance, again :-) Andrew. -- View this message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24741292.html Sent from the Solr - User mailing list archive at Nabble.com. -- Chantal Ackermann

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Erik Hatcher
On Jul 30, 2009, at 11:54 AM, Andrew Clegg wrote: xpath="//*[local-name()='structCategory']/*[local-name()='struct']/ *[local-name()='title']" /> The XPathEntityProcessor doesn't support that fancy of an xpath - it supports only a limited subset. Try /structCate

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Andrew Clegg
Thanks in advance, again :-) Andrew. -- View this message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24741292.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: NullPointerException in DataImportHandler

2009-07-30 Thread Chantal Ackermann
is message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24739580.html Sent from the Solr - User mailing list archive at Nabble.com.

NullPointerException in DataImportHandler

2009-07-30 Thread Andrew Clegg
hema.xml schema.xml Any ideas? Thanks in advance! Andrew. -- :: http://biotext.org.uk/ :: -- View this message in context: http://www.nabble.com/NullPointerException-in-DataImportHandler-tp24739580p24739580.html Sent from the Solr - User mailing list archive at Nabble.com.