(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/

Reply via email to