lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrTomcat" by UweSchindler
Date Sun, 06 Jan 2013 15:14:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrTomcat" page has been changed by UweSchindler:
http://wiki.apache.org/solr/SolrTomcat?action=diff&rev1=61&rev2=62

Comment:
Update the docs because Solr 4.1 no longer needs crazy Tomcat configuration changes

  === Logging ===
  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
  
- === URI Charset Config ===
- 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.
+ === URI Charset Config (before Solr 4.1 only) ===
+ <!> [[Solr4.1]] Solr now parses request parameters (in URL or sent with POST using
+ content-type application/x-www-form-urlencoded) in its dispatcher code. It no
+ longer relies on special configuration settings in Tomcat or other web containers
+ 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 correct Connector element:
URIEncoding="UTF-8".
+ In older Solr versions (before [[Solr4.1]]), you have to revisit this: Edit Tomcat's conf/server.xml
and add the following attribute to the correct Connector element: URIEncoding="UTF-8".
  
  {{{
  <Server ...>
@@ -102, +107 @@

   </Service>
  </Server>
  }}}
- This is only an issue when sending non-ascii characters in a query request... no configuration
is needed for Solr/Tomcat to return non-ascii chars in a response, or accept non-ascii chars
in an HTTP-POST body.
  
  === Configuring Solr Home with JNDI ===
  A Tomcat context fragments can be used to configure the JNDI property needed to specify
your Solr Home directory.

Mime
View raw message