lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Facet only support english?
Date Wed, 09 May 2007 22:23:39 GMT
On 5/5/07, James liu <liuping.james@gmail.com> wrote:
> Expect it to support other language like chinese.
>
> maybe solr facet can config like this when it support other language.
>
> <str name="facet.query">title:"诺基亚"</str>

solrconfig.xml is a normal XML document.  It currently starts off with
<?xml version="1.0"?>
which has no char encoding specified and the XML parser may default to
something you don't want.

If you are saving the file in UTF-8 format, then try changing the
first line to be this:
<?xml version="1.0" encoding="UTF-8"?>

-Yonik
Mime
View raw message