Re: Problem with indexing chinese characters when using SolrJ

2015-10-19 Thread Zheng Lin Edwin Yeo
Hi Shawn, Thank you for the explanation. Regards, Edwin On 19 October 2015 at 15:58, Shawn Heisey wrote: > On 10/19/2015 12:18 AM, Zheng Lin Edwin Yeo wrote: > > I found that it works if I put the code in this way without the > URLEncoder > > > > req.setParam("literal.title", filename); > > >

Re: Problem with indexing chinese characters when using SolrJ

2015-10-19 Thread Shawn Heisey
On 10/19/2015 12:18 AM, Zheng Lin Edwin Yeo wrote: > I found that it works if I put the code in this way without the URLEncoder > > req.setParam("literal.title", filename); > > Is the URLEncoder doing the encoding from the chinese characters to the > string > of code like this "%E7%AB%8B%E9".?

Re: Problem with indexing chinese characters when using SolrJ

2015-10-18 Thread Zheng Lin Edwin Yeo
I found that it works if I put the code in this way without the URLEncoder req.setParam("literal.title", filename); Is the URLEncoder doing the encoding from the chinese characters to the string of code like this "%E7%AB%8B%E9".? Regards, Edwin On 19 October 2015 at 11:29, Zheng Lin Edwin Yeo

Re: Problem with indexing xml using DataImportHandler and XPath

2014-03-05 Thread Erick Erickson
NP, Been there, done that, got the t-shirt :)... On Wed, Mar 5, 2014 at 9:51 PM, Farhan Ali wrote: > Sorry figured out my problem. It was stupid mistake on my part. Once again > sorry for that > > Thanks > Farhan > > > On Wed, Mar 5, 2014 at 7:14 PM, Farhan Ali wrote: > >> Hi, >> I am a newbie

Re: Problem with indexing xml using DataImportHandler and XPath

2014-03-05 Thread Farhan Ali
Sorry figured out my problem. It was stupid mistake on my part. Once again sorry for that Thanks Farhan On Wed, Mar 5, 2014 at 7:14 PM, Farhan Ali wrote: > Hi, > I am a newbie to Solr and I am trying to index some xml documents using > DIH and XPath but I am unable to do it. I get a response m

Re: Problem with Indexing

2010-10-12 Thread Gora Mohanty
On Tue, Oct 12, 2010 at 5:57 PM, Jörg Agatz wrote: > java -Xmx1024m -jar start.jar Hmm, could you try increasing the RAM, though this out to be enough? Maybe I missed this earlier, but what is the size of the data being indexed? Regards, Gora

Re: Problem with Indexing

2010-10-12 Thread Jörg Agatz
java -Xmx1024m -jar start.jar

Re: Problem with Indexing

2010-10-11 Thread Gora Mohanty
On Mon, Oct 11, 2010 at 1:27 PM, Jörg Agatz wrote: > ok, i have try it.. and now iget this error: > > POSTing file e067f59c-d046-11df-b552-000c29e17baa_SEARCH.xml > SimplePostTool: FATAL: Solr returned an error: > this_writer_hit_an_OutOfMemoryError_cannot_flush__javalangIllegalStateException [...

Re: Problem with Indexing

2010-10-11 Thread Jörg Agatz
ok, i have try it.. and now iget this error: POSTing file e067f59c-d046-11df-b552-000c29e17baa_SEARCH.xml SimplePostTool: FATAL: Solr returned an error: this_writer_hit_an_OutOfMemoryError_cannot_flush__javalangIllegalStateException_this_writer_hit_an_OutOfMemoryError_cannot_flush__at_orgapacheluc

Re: Problem with Indexing

2010-10-01 Thread Erick Erickson
How much memory are you giving the JVM? Try adding the -Xmx parameter to your java invocation. e.g. -Xmx512M HTH Erick On Fri, Oct 1, 2010 at 7:20 AM, Jörg Agatz wrote: > Hallo, > > i tryed to index a lot of XML. 700.000 to 800.000 but i becom a Error: and > a > Java heap Space error.. > > i doo