Have a look at http://wiki.apache.org/solr/HighlightingParameters?highlight=%28highlighting%29#head-dbf0474b5b2c0db08f3a464ff3525225a9c71fbc
and set hl.fragsize=0 Hope this helps. Christian Wittern said the following on 18/04/2008 09:59: > Dear Solr users, > > Here I am having a problem with hightlighting which is slightly different > from the one reported by Martijn. > The field that contains the match is rather short, in this case less than > 300 characters altogether. Nevertheless, the field is only returned > truncated. Since I also return the field itself, I can clearly see that the > whole content is there. > > Here is the query string I am using: > > http://localhost:8983/solr/select/?q=%E8%99%9B%E5%A4%9A&fl=variants,content,cdata,id%2Cdoctitle%2Chead%2Ccitekey%2Cseqnum%2Cjuan&hl=true&f.contents.hl.snippets=20&hl.fl=content,variants&wt=xml&tr=solr-tei.xsl > > Any hint on how to debug this would be highly appreciated! > > All the best, > > Christian >