useFastVectorHighlighter does not respect  hl.simple.pre/post
-------------------------------------------------------------

                 Key: SOLR-2153
                 URL: https://issues.apache.org/jira/browse/SOLR-2153
             Project: Solr
          Issue Type: Bug
          Components: highlighter
    Affects Versions: 3.1
         Environment: Oct 8 3.1 built from SVN, tomcat6 + solaris
            Reporter: Trey Hyde


The highlighter is returning em's instead of the b's that we are specifying in 
hl.simple.pre/post

As configured in solrconfig.  This was working a while ago when we were still 
trying to use the non-vector highlighter (had to turn it off due to performance 
issues)

{quote}<str name="hl">true</str>
          <str name="hl.useFastVectorHighlighter">true</str>
            <str name="hl.snippets">3</str>
        <str name="f.title.hl.fragsize">10000</str>
        <str name="hl.fragsize">200</str>
        <str name="hl.mergeContiguous">true</str>
            <str name="hl.simple.pre">&lt;b&gt;</str>
            <str name="hl.simple.post">&lt;/b&gt;</str>{quote}


returns

{quote}
 <lst name="/san/c/h/hy/hyde/hyde/spaces/intranet/1638705"> 
    <arr name="description"> 
      <str>&lt;em&gt;hello&lt;/em&gt; ? &lt;em&gt;world&lt;/em&gt; are you 
there ? 
  
&lt;em&gt;hello&lt;/em&gt; &lt;em&gt;world&lt;/em&gt;   </str> 
    </arr> 
  </lst>
{quote}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to