Ok,

If the same file and the same core definition works on a standalone,
then the issue may be different. Can you please share the full stack
trace of the message. It may be important to see which thread died.

Also, I would just spin up a test Solr 7.5 instance and see if the
problem is still there (that's as easy as "bin/solr start -e cloud").

Regards,
   Alex.
On Sun, 21 Oct 2018 at 10:20, Moshe Recanati | KMS <mos...@kmslh.com> wrote:
>
> Hi Alexandre,
>
> Thank you.
>
> How this explain the issue exists only with SolrCloud and not standalone?
>
>
> Moshe
>
> ________________________________
> From: Alexandre Rafalovitch <arafa...@gmail.com>
> Sent: Sunday, October 21, 2018 5:18:24 PM
> To: solr-user
> Subject: Re: Error while indexing Thai core with SolrCloud
>
> I would check if the Byte-order mark is the cause:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_Byte-5Forder-5Fmark&d=DwIBaQ&c=EtlJpXAqSaq3cSC4ACVw6-ifVo6KHbawEuqEp-kfN24&r=vNaquGtywQ6F1lNXYN9CVw&m=YMfuLHL6Bp0Vuxk1moCO18f8dk3kVotS4K6LTVQmLKI&s=mDTnbgD4DDoBegg-1crj1OxZ3BqMCiN96ev_Nt29BSw&e=
>
> The error message does not seem to be a perfect match to this issue,
> but a good thing to check anyway.
>
> That symbol (right at the file start) is usually invisible and can
> trip Java XML parsers for some reasons. So I would check what editor
> on your platform understands Byte-order mark and/or try to strip it.
>
> I that does not help, I would run the file through XML validator to
> see if there are maybe invisible/unexpected characters elsewhere in
> the file.
>
> Regards,
>     Alex.
> On Sun, 21 Oct 2018 at 09:55, Moshe Recanati | KMS <mos...@kmslh.com> wrote:
> >
> > Hi,
> >
> > We've specific exception that happening only on Thai core and only once 
> > we're using SolrCloud.
> >
> > Same indexing activity is running successfully while running on EN core 
> > with SolrCloud or with Thai core and standalone configuration.
> >
> >
> > We're running on Linux with Solr 4.6
> >
> > and with -Dfile.encoding=UTF-8 on all scenarios.
> >
> >
> > This is the exception:
> >
> > com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character 
> > ((CTRL-CHAR, code 26))
> > and
> >
> > org.apache.solr.common.SolrException: Invalid UTF-8 middle byte 0xe0 (at 
> > char #1, byte #-1)
> > at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:176)
> > at 
> > org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
> > at 
> > org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
> > at
> >
> >
> > Do you know what is the root cause of it and how to overcome it.
> >
> > As I mentioned this is not happning on standalon or in Core EN in any 
> > scenario.
> >
> >
> > Thank you,
> >
> > Moshe

Reply via email to