Jens Kraemer
2006-Sep-12 19:17 UTC
[Ferret-talk] options hash ignored when searching multiple readers
Hi, I''m working on an aaf bug report that led me to what I think is a bug in Ferret itself. The snippet at http://pastie.caboo.se/12950 shows the problem, the last two lines should imho only return one result, because of :offset => 1 or :limit => 1, but both return all (that is, 2) results (Ferret 0.10.4). Cheers, Jens -- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66
Jens Kraemer
2006-Sep-12 19:33 UTC
[Ferret-talk] options hash ignored when searching multiple readers
just ignore me, of course total_hits gives the total number of hits. I guess that''s why it''s named that way :-) Everything works as expected ... Jens On Tue, Sep 12, 2006 at 09:17:21PM +0200, Jens Kraemer wrote:> Hi, > > I''m working on an aaf bug report that led me to what I think is a bug > in Ferret itself. The snippet at > > http://pastie.caboo.se/12950 > > shows the problem, the last two lines should imho only return one > result, because of :offset => 1 or :limit => 1, but both return all > (that is, 2) results (Ferret 0.10.4). > > > Cheers, > Jens > > -- > webit! Gesellschaft f?r neue Medien mbH www.webit.de > Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de > Schnorrstra?e 76 Tel +49 351 46766 0 > D-01069 Dresden Fax +49 351 46766 66 > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk-- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66