lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <>
Subject Re: [lucy-user] ClusterSearcher and excerpt/highlighting
Date Sun, 27 Nov 2011 17:34:16 GMT
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.

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

View raw message