the encoding attribute for clarity,
however.)
-kuro
-Original Message-
From: Walter Underwood [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 4:33 PM
To: solr-user@lucene.apache.org
Subject: Re: Facet only support english?
I didn't remember that requirement, so I looked
On 5/5/07, James liu [EMAIL PROTECTED] wrote:
Expect it to support other language like chinese.
maybe solr facet can config like this when it support other language.
str name=facet.querytitle:诺基亚/str
solrconfig.xml is a normal XML document. It currently starts off with
?xml version=1.0?
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
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?
We should probably change the example solrconfig.xml and schema.xml to
be UTF-8 by default. Any objections?
-Yonik
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
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?
We should probably change the example solrconfig.xml and schema.xml to
Yonik Seeley wrote:
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
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?
We should probably change the example solrconfig.xml and schema.xml to
be UTF-8 by default. Any
On 5/9/07, Ryan McKinley [EMAIL PROTECTED] wrote:
Yonik Seeley wrote:
We should probably change the example solrconfig.xml and schema.xml to
be UTF-8 by default. Any objections?
I'm for it...
but if the xml parser uses getReader() does it make any difference?
For Solr's XML config files,
+1 on explicit encoding declarations.
Yonik Seeley wrote:
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
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?
We should probably change the example solrconfig.xml and
+1 on explicit encoding declarations.
Done (even though it really wasn't needed since there were no int'l
chars in the example).
As Mike points out, it only marginally helps... if the user adds
international chars to the config and saves it as something other than
UTF-8 they are still hosed.
On 5/9/07, Yonik Seeley [EMAIL PROTECTED] wrote:
+1 on explicit encoding declarations.
Done (even though it really wasn't needed since there were no int'l
chars in the example).
As Mike points out, it only marginally helps... if the user adds
international chars to the config and saves it as
I didn't remember that requirement, so I looked it up. It was added
in XML 1.0 2nd edition. Originally, unspecified encodings were open
for auto-detection.
Content type trumps encoding declarations, of course, per RFC 3023
and allowed by the XML spec.
wunder
On 5/9/07 4:19 PM, Mike Klaas [EMAIL
: Subject: Facet only support english?
there isn't anything in the faceting support that is specific to english,
but by the looks of it the problem you are having is when you try to put
default facet.query params in your solrconfig.xml right?
it's very possible that Solr isn't doing the right
Expect it to support other language like chinese.
maybe solr facet can config like this when it support other language.
str name=facet.querytitle:诺基亚/str
or
str name=facet.querytitle:'诺基亚'/str
or
str name=facet.querytitle:诺基亚/str
--
regards
jl
12 matches
Mail list logo