Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55361D2BE for ; Sun, 6 Jan 2013 15:15:10 +0000 (UTC) Received: (qmail 62523 invoked by uid 500); 6 Jan 2013 15:15:09 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 62473 invoked by uid 500); 6 Jan 2013 15:15:09 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 62464 invoked by uid 99); 6 Jan 2013 15:15:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 15:15:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 15:15:07 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 25164C7F; Sun, 6 Jan 2013 15:14:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 06 Jan 2013 15:14:46 -0000 Message-ID: <20130106151446.31260.52717@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SolrTomcat=22_by_UweSchindler?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SolrTomcat" page has been changed by UweSchindler: http://wiki.apache.org/solr/SolrTomcat?action=3Ddiff&rev1=3D61&rev2=3D62 Comment: Update the docs because Solr 4.1 no longer needs crazy Tomcat configuration= changes =3D=3D=3D Logging =3D=3D=3D For information about controlling JDK Logging (aka: java.util logging) in= Tomcat, please consult the Tomcat docs... http://tomcat.apache.org/tomcat-= 6.0-doc/logging.html = - =3D=3D=3D URI Charset Config =3D=3D=3D - If you are going to '''query''' Solr using international characters (>127= ) using HTTP-GET, you must configure Tomcat to conform to the URI standard = by accepting percent-encoded UTF-8. + =3D=3D=3D URI Charset Config (before Solr 4.1 only) =3D=3D=3D + [[Solr4.1]] Solr now parses request parameters (in URL or sent with P= OST using + content-type application/x-www-form-urlencoded) in its dispatcher code. I= t no + longer relies on special configuration settings in Tomcat or other web co= ntainers + to enable UTF-8 encoding, which is mandatory for correct Solr behaviour. = + Solr now works out of the box with e.g. Tomcat, JBoss,... + = - Edit Tomcat's conf/server.xml and add the following attribute to the corr= ect Connector element: URIEncoding=3D"UTF-8". + In older Solr versions (before [[Solr4.1]]), you have to revisit this: Ed= it Tomcat's conf/server.xml and add the following attribute to the correct = Connector element: URIEncoding=3D"UTF-8". = {{{ @@ -102, +107 @@ }}} - This is only an issue when sending non-ascii characters in a query reques= t... no configuration is needed for Solr/Tomcat to return non-ascii chars i= n a response, or accept non-ascii chars in an HTTP-POST body. = =3D=3D=3D Configuring Solr Home with JNDI =3D=3D=3D A Tomcat context fragments can be used to configure the JNDI property nee= ded to specify your Solr Home directory.