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 "SolrJBoss" by UweSchindler
Date Sun, 06 Jan 2013 15:52:59 GMT
Dear Wiki user,

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

The "SolrJBoss" page has been changed by UweSchindler:
http://wiki.apache.org/solr/SolrJBoss?action=diff&rev1=15&rev2=16

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

  <<TableOfContents>>
  
  = Optional Configuration =
- == URI Charset Config ==
- If you are going to '''query''' Solr using international characters (>127) using HTTP-GET,
you must configure JBoss to conform to the URI standard by accepting percent-encoded UTF-8.
+ == URI Charset Config (only needed before Solr 4.1) ==
+ <!> [[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 JBoss 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 JBoss's ''server/default/deploy/jbossweb-tomcat55.sar/server.xml'' and add the following
attribute to the correct Connector element: URIEncoding="UTF-8". If you're using JBoss v4.0
or above, then the file is located at: server/default/deploy/jboss-web-deployer/server.xml
+ In older Solr versions (before [[Solr4.1]]), you have to change the container's default
URI encoding: Edit JBoss's ''server/default/deploy/jbossweb-tomcat55.sar/server.xml'' and
add the following attribute to the correct Connector element: URIEncoding="UTF-8". If you're
using JBoss v4.0 or above, then the file is located at: server/default/deploy/jboss-web-deployer/server.xml
  {{{
  <Server ...>
   <Service ...>

Mime
View raw message