On Wed, Jun 20, 2007 at 12:30:03AM +0200, [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I'm encountering another highlighting issue.
> (about the first one "range search and highlighting", i received no
> response. I don't even know if somebody tried to reproduce and/or if
> it's normal behavior)
> 
> about the new issue, an example will be easier for you to reproduce:
> I'm filling an index with random data, i try to match for "*1*" and
> then highlight the matched tokens. If it's matched and not highlighted
> i put it in z
> 
> It works as expected when there're 100 entries (replace 500.times by
> 100.times), in that case z contains empty arrays.
> When having 500 entries it doesn't highlight every matches !
> 
> This example has been tested with 0.11.4
> (r770 has been tested with the application i first discovered this
> issue with)
> 
> I would appreciate if you could test and tell me if I'm the only one
> having this problem.

Here z is not empty in the 500 case, too.  Strange behaviour indeed,
imho highlight should either return strings with some highlighted
content, or nothing at all when there's nothing to highlight...

Jens

 

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to