(10/12/08 1:12), getagrip wrote:
Hi,
when I query solr (trunk) I get "numeric character references" instead of 
regular UTF-8 strings in
case of special characters in the highlighting section, in the result section 
the characters are
presented fine.

e.g instead of the German Umlaut Ä I get ä

Example:

<arr name="attr_content">
<str>
Vielfachmessgerät
</str>
</arr>

<lst name="highlighting">
<arr name="attr_content">
<str>
<em>Vielfachmessger&#228;t</em>
</str>

Any hints are welcome.

It may be due to HtmlEncoder in solrconfig.xml:

<!-- Configure the standard encoder -->
<encoder name="html" class="org.apache.solr.highlight.HtmlEncoder" 
default="true"/>

Try to remove the setting or use DefaultEncoder (it is "null" encoder)
instead of HtmlEncoder.

Koji
--
http://www.rondhuit.com/en/

Reply via email to