First, I might have sent the email to the wrong group, so, if this is a double, please ignore. Thank you.<br> How do I index the search that returns more than a thousand records with several parameters? My server runs pretty slow on a search like that.<br> In the DBIx::Class::ResultSet, I found there is way to do indexing, but it's not very clear, so, would someone please help me out. I'm using MySQL database. The base class of the table is:<br> ----------------------------------------------<br> package myDB::HTMLLinks;<br> <br> use base qw/DBIx::Class/; <br> <br> # Load required DBIC stuff<br> __PACKAGE__->load_components(qw/PK::Auto Core/);<br> # Set the table name<br> __PACKAGE__->table('htmllinks');<br> # Set columns in table<br> __PACKAGE__->add_columns(qw/<br> id<br> link<br> activel<br> /);<br> # Set the primary key for the
table<br> __PACKAGE__->set_primary_key(qw/id/);<br> <br> --------------------------------<br> What do I need to add in this class, and in the controller that calls the search?<br> <br> Thank you.<p> 
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>