Hi symfonians,

first of all i have to thank Carl for this great plugin ( sfLucene ).

Now to my questions :

The search on the index works perfect. 
I get a sfLucenePager object after that.

Now my question is, what would be the best approach to gather additional
data from the database for example if the user is only now or getting
the main avatar picture etc etc.
There could be up to 15.0000 entries at the moment. 
In the near future even more.

So some approaches were :

- I can iterate through the pager object and get the data.
  So i just use the sfLucenePager in the template and will do a 
  retrieveByPK for every entry.

- I could just fetch the member pks in the action b, put them in an 
  array ($foundMember) and use the 
  $c->addAnd(MembersPeer::ID, $foundMember, Criteria::IN);
  It will create a WHERE members.id IN (1,2,3,4,5... 10000);

And im thinking about more approaches.
Does anybody have some hints for me ?

I really appreciate any help...

Thanks,

Marco


-- 
Marco Schierhorn
Technical Director
 
-----------------------------------------------   
ESV Media GmbH  |  Meerbuscher Str. 64-78
40670 Meerbusch  |  Germany 
   
Tel.  +49 (0)2159 / 9297-930
Fax. +49 (0)2159 / 9297-931
   
www.esv-group.de  |  [EMAIL PROTECTED]
   
Geschäftsführer: Heinz Eissing 
Amtsgericht Neuss  |  HRB 12902
   
   
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to