On Sun, Nov 27, 2011 at 12:09:39PM +0200, goran kent wrote:
> Sadly, the patch doesn't seem to help with either case: eg, searching
> for [partners], has hardly anything being highlighted (lots of cases
> of 'partner' being ignored), with a case of the usual weird:
>
> Cap<strong>e Penins</strong>ula
>
> Searching for [free newsletters] highlights
> <strong>CyberAgen</strong>t,
> or
> organisatio<strong>n ha</strong>s a wor<strong>king Linux</strong>
This should be solved with r1206768.
http://svn.apache.org/viewvc?view=revision&revision=1206768
That symptom results from a mismatch between the fetched doc and the fetched
highlighting data (called the "DocVector"). It was happening because the doc
id for the fetched hit was not being adjusted by ClusterSearcher.
Marvin Humphrey