RE: Facet only support english?

2007-05-10 Thread Teruhiko Kurosaka
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

Re: Facet only support english?

2007-05-09 Thread Yonik Seeley
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?

Re: Facet only support english?

2007-05-09 Thread Yonik Seeley
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

Re: Facet only support english?

2007-05-09 Thread Mike Klaas
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

Re: Facet only support english?

2007-05-09 Thread Ryan McKinley
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

Re: Facet only support english?

2007-05-09 Thread Yonik Seeley
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,

Re: Facet only support english?

2007-05-09 Thread Koji Sekiguchi
+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

Re: Facet only support english?

2007-05-09 Thread Yonik Seeley
+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.

Re: Facet only support english?

2007-05-09 Thread Mike Klaas
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

Re: Facet only support english?

2007-05-09 Thread Walter Underwood
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

Re: Facet only support english?

2007-05-06 Thread Chris Hostetter
: 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

Facet only support english?

2007-05-04 Thread James liu
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