[KinoSearch] Highlighter Bug

Nick Wellnhofer wellnhofer at aevum.de
Tue Nov 16 08:15:42 PST 2010


I found a bug in the highlighter in KinoSearch 0.30_121 and 0.31. For 
some searches the excerpt doesn't contain any of the search terms, but 
only a sentence following the one that looks like it should have been 
picked.

I had a quick look at the code in 
core/KinoSearch/Highlight/Highlighter.c and the test "candidate >= top" 
in Highlighter_raw_excerpt looks fishy to me. AFAICS this might cause 
sentences to be skipped.

Nick


-- 
aevum gmbh
rumfordstr. 4
80469 münchen
germany

tel: +49 89 3838 0653
http://aevum.de/



More information about the kinosearch mailing list