Re: Fw: TolerantUpdateProcessorFactory not functioning

2020-06-10 Thread Hup Chen
x27;106Chapter' msg=For input string: \"106Chapter\"", "code":400}} ____________ From: Shawn Heisey Sent: Tuesday, June 9, 2020 3:19 PM To: solr-user@lucene.apache.org Subject: Re: Fw: TolerantUpdateProcessorFactory not functioning On 6/9

Re: Fw: TolerantUpdateProcessorFactory not functioning

2020-06-09 Thread Hup Chen
t: Re: Fw: TolerantUpdateProcessorFactory not functioning I tried your example XML as it is shown in your original message, saved to a file named "foo.xml", and didn't have any trouble. I wasn't even using the tolerant update processor. I just fired up the techproduct

Re: Fw: TolerantUpdateProcessorFactory not functioning

2020-06-09 Thread Shawn Heisey
On 6/9/2020 12:44 AM, Hup Chen wrote: Thanks for your reply, this is one of the example where it fail. POST by using charset=utf-8 or other charset didn't help that CTRL-CHAR "^" error found in the title field, I hope solr can simply skip this record and go ahead to index the rest data.

Re: Fw: TolerantUpdateProcessorFactory not functioning

2020-06-08 Thread Hup Chen
solr-user@lucene.apache.org Subject: Re: Fw: TolerantUpdateProcessorFactory not functioning If your XML or JSON can't be parsed, your content never makes it to the update chain. It looks like you're trying to index non-UTF-8 data. You can set the encoding of your XML in the Content-Type header of your POST

Re: Fw: TolerantUpdateProcessorFactory not functioning

2020-06-08 Thread Thomas Corthals
If your XML or JSON can't be parsed, your content never makes it to the update chain. It looks like you're trying to index non-UTF-8 data. You can set the encoding of your XML in the Content-Type header of your POST request. -H 'Content-Type: text/xml; charset=GB18030' JSON only allows UTF-8, UT

Fw: TolerantUpdateProcessorFactory not functioning

2020-06-08 Thread Hup Chen
Any idea? I still won't be able to get TolerantUpdateProcessorFactory working, solr exited at any error without any tolerance, any suggestions will be appreciated. curl "http://localhost:7070/solr/mycore/update?update.chain=tolerant-chain&maxErrors=100"; -d @data.xml 100 400 1