Re: UTF-8 encoding problems while replicating an index using SolrCloud

2014-02-05 Thread David Santamauro
I had that same error. I cleared it up by commenting out all the /update/xxx handlers and changing /update class to solr.UpdateRequestHandler Hope that helps David On 02/05/2014 01:37 PM, Ugo Matrangolo wrote: Hi, we are having problems with an installation of SolrCloud where a leader nod

Re: UTF-8 encoding

2012-04-04 Thread Erik Hatcher
Apologies for not replying sooner on this thread, I just noticed it today... To add insight into where velocity.properties can reside, it is used this way in VelocityResponseWriter.java: SolrVelocityResourceLoader resourceLoader = new SolrVelocityResourceLoader(request.getCore().get

Re: UTF-8 encoding

2012-04-04 Thread henri
I have finally solved my problem!! Did the following: added two lines in the /browse requestHandler velocity.properties text/html;charset=UTF-8 Moved velocity.properties from solr/conf/velocity to solr/conf Not being an expert, I am not 100% sure this is the "best" solution, and w

Re: UTF-8 encoding

2012-03-30 Thread henri.gour...@laposte.net
Paul, velocity.properties are set. One thing I am not 100% sure about is where this file should reside? I have placed in in the example/solr/conf/velocity folder (where the .vm files reside). Cheers, Henri -- View this message in context: http://lucene.472066.n3.nabble.com/UTF-8-encoding-tp386

Re: UTF-8 encoding

2012-03-29 Thread Paul Libbrecht
Henri, look velocity.properties. I have there: > input.encoding = UTF-8 Do you also? This is the vm files' encodings. Of course also make sure you edit these files in UTF-8 (using jEdit made it trustable to me). paul Le 30 mars 2012 à 08:49, henri.gour...@laposte.net a écrit : > OK

Re: UTF-8 encoding

2012-03-29 Thread henri.gour...@laposte.net
OK, Ill try to provide more details: I am using solr-3.5.0 I am running the example provided in the package. Some of the modifications I have done in the various velocity/*.vm files have accents! It is those accents that show up garbled when I look at the results. The .vm files are utf-8 encoded. S

Re: UTF-8 encoding

2012-03-29 Thread Erick Erickson
I doubt that the pre-installed Jetty server has problems with UTF-8, although you haven't told us what version of Solr you're running on so it could be really old. And you also haven't told us why you think UTF-8 is a problem. How is this manifesting itself? Failed searches? Failed indexing? ???

Re: UTF-8 encoding

2012-03-29 Thread henri.gour...@laposte.net
Thanks for the tips, but unfortunately, no progress so far. Reading through the Web, I guess that jetty has utf-8 problems! I guess that I will have to switch from the embedded (and pre installed -> easy) jetty server present in Solr in favor of Tomcat (for which I have to rediscover the installati

Re: UTF-8 encoding

2012-03-29 Thread Paul Libbrecht
Also, in case you use Apache's mod_proxy, be sure to use the nocanon attribute. (I don't know of an equivalent for mod_rewrite). In general, I tend also to advise also to change the default encoding of the java running the servlets... but I am sure you've done this. Tell us your success or lack

RE: UTF-8 encoding

2012-03-29 Thread Bob Sandiford
Hi, Henri. Make sure that the container in which you are running Solr is also set for UTF-8. For example, in Tomcat, in the server.xml file, your Connector definitions should include: URIEncoding="UTF-8" Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sa

RE: UTF-8 encoding problem on one of two Solr setups

2007-08-20 Thread Mario Knezovic
> You might want to check out this page > http://wiki.apache.org/solr/SolrTomcat > > Tomcat needs a small config change out > of the box to properly support UTF-8. This exactly solved the problem. Thanks a lot! Mario

Re: UTF-8 encoding problem on one of two Solr setups

2007-08-17 Thread Sean Timm
This may be your problem.  The below docs are for the HTTP connector, simlar configuration can be made to the AJP and other connectors See http://tomcat.apache.org/tomcat-6.0-doc/config/http.html URIEncoding This specifies the character encoding used to decode the URI bytes, after %xx decodin

RE: UTF-8 encoding problem on one of two Solr setups

2007-08-17 Thread Charlie Jackson
You might want to check out this page http://wiki.apache.org/solr/SolrTomcat Tomcat needs a small config change out of the box to properly support UTF-8. Thanks, Charlie -Original Message- From: Mario Knezovic [mailto:[EMAIL PROTECTED] Sent: Friday, August 17, 2007 12:58 PM To: solr-