I always assumed this was the default behaviour of the
Lucene TermHighlighter but I could be mistaken with an older version.
I found out that there are major differences between Lucene and Solr
though, with which I have similar problems.
Best regards,
Evert Wagenaar
http://www.evertwagenaar.com/
Thanks for your explanation, David.
I actually found working with all Lucene highlighters pretty
difficult. I have a few requirements which seemed deceptively simple:
1) highlight query hit regions (phrase, fuzzy, terms);
2) try to organise the resulting snippets to visually "center" the hit
regi