Hi, You may need to increase hl.maxAnalyzedChars which has a default of 51200.
On Monday, March 24, 2014 2:33 PM, "panzj.f...@cn.fujitsu.com" <panzj.f...@cn.fujitsu.com> wrote: Hi all While using solr 4.6 to highlight the result, I ran into a strange situation. Most searching results were correctly highlighted. But a few gave out all the content of the indexed webpage without any highlighted keywords. Is anybody ever met this problem? Here is my solrconfig.xml -------------------------------------------------------------------------------------- <bool name="hl">true</bool> <str name="hl.fl">content title</str> <str name="hl.simple.pre"><b><em><big></str> <str name="hl.simple.post"></b></em></big></str> <str name="f.title.hl.fragsize">0</str> <str name="f.title.hl.alternateField">title</str> <str name="f.content.hl.snippets">1</str> <str name="f.content.hl.fragsize">200</str> <str name="f.content.hl.alternateField">content</str> <str name="f.content.hl.maxAlternateFieldLength">200</str> .... -------------------------------------------------------------------------------------- I would appreciate for any reply. THX