You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by William Bell <bi...@gmail.com> on 2012/07/18 05:12:00 UTC

UTF-8

-Dfile.encoding=UTF-8... Is this usually recommended for SOLR indexes?

Or is the encoding usually just handled by the servlet container like Jetty?

-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

Re: UTF-8

Posted by Paul Libbrecht <pa...@hoplahup.net>.
My experience is that this property has made a whole lot of a difference. At least till solr 3.1.
The servlet container has not been the only bit.

paul

Le 18 juil. 2012 à 05:12, William Bell a écrit :

> -Dfile.encoding=UTF-8... Is this usually recommended for SOLR indexes?
> 
> Or is the encoding usually just handled by the servlet container like Jetty?
> 
> -- 
> Bill Bell
> billnbell@gmail.com
> cell 720-256-8076


Re: UTF-8

Posted by Mark Miller <ma...@gmail.com>.
It varies. Last I used Tomcat (some years ago) it defaulted to the system default encoding and you had to use -Dfile.encoding... to get UTF-8.

Jetty currently defaults to UTF-8.

On Jul 17, 2012, at 11:12 PM, William Bell wrote:

> -Dfile.encoding=UTF-8... Is this usually recommended for SOLR indexes?
> 
> Or is the encoding usually just handled by the servlet container like Jetty?
> 
> -- 
> Bill Bell
> billnbell@gmail.com
> cell 720-256-8076

- Mark Miller
lucidimagination.com