lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bing <>
Subject Solr highlighting configuration - hl.simple.pre/ - no effect of change
Date Tue, 20 Sep 2011 03:06:25 GMT
Hi, all guys, 

I am working on tomcat and depend on solr to generate some response and
highlighting, and currently I am handling single term matching. 
What I want is to change two properties- hl.simple.pre, in
Solr highlighting configuration file, but currently there is no effect of
change after I reboot my tomcat. 

*Current highlighting*: <em>matchedTerm </em>
*Change in SolrConfig.xml* : 
<formatter name="html" class="org.apache.solr.highlight.HtmlFormatter"
    <lst name="defaults">
	 <str name="hl.simple.pre"></str> 
     <str name=""></str>
*Expected*: *matchedTerm *

I feel it is pretty simple and straight-forward, but cannot get it done. So,
if someone can help me out, thank you very much!

View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message