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/;&nbsp; <br>  <br>  # Load required DBIC stuff<br>  __PACKAGE__-&gt;load_components(qw/PK::Auto Core/);<br>  # Set the table name<br>  __PACKAGE__-&gt;table('htmllinks');<br>  # Set columns in table<br>  __PACKAGE__-&gt;add_columns(qw/<br>  &nbsp;&nbsp;&nbsp; id<br>  &nbsp;&nbsp;&nbsp; link<br>  &nbsp;&nbsp;&nbsp; activel<br>  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /);<br>  # Set the primary key for the
 table<br>  __PACKAGE__-&gt;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>&#32;



      <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>