The problem is that it forces RFM to retrieve the entire result set,
that's all the fields of the used layout for all the records of the
found set - in its xml form to ruby / nokogiri - and only after all
that has been processed, it is available for the .size method...
Needless to say that on large found set of a few thousands, this takes
many_many seconds to process.
Since I only want a record count to display "Your search returned XXX
results" and I'm only displaying 10 at a time on a page - it's a waste
of time to have to transfer the whole set - just for a record count.
Any other way to do that?
lardawge
unread,
Oct 31, 2010, 1:14:39 PM10/31/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message