Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 13798 invoked from network); 12 Oct 2010 23:04:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 23:04:57 -0000 Received: (qmail 66499 invoked by uid 500); 12 Oct 2010 23:04:56 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 66438 invoked by uid 500); 12 Oct 2010 23:04:56 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 66431 invoked by uid 99); 12 Oct 2010 23:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 23:04:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 23:04:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9CN4WIQ003062 for ; Tue, 12 Oct 2010 23:04:32 GMT Message-ID: <33072186.106051286924672476.JavaMail.jira@thor> Date: Tue, 12 Oct 2010 19:04:32 -0400 (EDT) From: "Koji Sekiguchi (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-2153) useFastVectorHighlighter does not respect hl.simple.pre/post In-Reply-To: <8566028.100161286906507772.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920396#action_12920396 ] Koji Sekiguchi commented on SOLR-2153: -------------------------------------- bq. useFastVectorHighlighter does not respect hl.simple.pre/post Correct. I think hl.simple.pre/post parameters are for HtmlFormatter (it implements SolrFormatter), and FVH doesn't use SolrFormatter, but uses fragListBuilder and fragmentsBuilder instead. And fragmentsBuilder respects hl.tag.pre/post: {code} ,, ,, ,, ,, ,]]> ]]> {code} > 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}true > true > 3 > 10000 > 200 > true > <b> > </b>{quote} > returns > {quote} > > > <em>hello</em> ? <em>world</em> are you there ? > > <em>hello</em> <em>world</em> > > > {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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org