This is a "me too" post. I would love to replace the query filter we use on tourb.us with this.
gary On 7/17/06, Jordan Frank <[EMAIL PROTECTED]> wrote: > On 7/17/06, David Balmain <[EMAIL PROTECTED]> wrote: > > Ferret actually has to check the score of every singly document in the > > index that matches the query. It keeps a priority queue of as many > > documents as it needs to return the result set. So if :num_docs is 50, > > and :first_doc is 200 Ferret will need to keep a priority queue of 250 > > documents. > > <snip> > > The proc would just be called once for every matching document in the > > result set, not every document. It shouldn't be too expensive at all > > and probably a lot more efficient than filtering using the SQL method. > > <snip> > > If that's the case, then I think the filter_proc idea would be > fantastic, and I'd love to see it make it's way into a future version. > > -- > Cheers, > Jordan Frank > [EMAIL PROTECTED] > _______________________________________________ > Ferret-talk mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ferret-talk > _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

