lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Special Character & Hightlighting issues after 3.1.0 update
Date Thu, 14 Apr 2011 15:27:51 GMT
(11/04/14 23:49), Yonik Seeley wrote:
> Hmmm, looks like the highlighting code changed.  Using the example
> doc, with 1.4 I get
>
> http://localhost:8983/solr/select?q=features:circumflexes&hl=true&hl.fl=features&wt=json&indent=true
>
>   "highlighting":{
>    "UTF8TEST":{
> 	"features":["eaiou with<em>circumflexes</em>: êâîôû"]}}}
>
> With 3.1, this now looks like
>
>    "highlighting":{
>      "UTF8TEST":{
>        "features":["eaiou with<em>circumflexes</em>:
> &#234;&#226;&#238;&#244;&#251;"]}}}

I'm not sure, but it is due to HtmlEncoder?

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

it set as default in example config.

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

Mime
View raw message