[Bio] / Sprout / AttrDBRefresh.pl Repository:
ViewVC logotype

Diff of /Sprout/AttrDBRefresh.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8, Tue Jan 9 01:49:08 2007 UTC revision 1.9, Tue Jan 30 00:27:36 2007 UTC
# Line 82  Line 82 
82  Rather than attaching attributes to the word "Subsystem", we attach them to the  Rather than attaching attributes to the word "Subsystem", we attach them to the
83  subsystem itself.  subsystem itself.
84    
 =item re_index  
   
 If specified, the text search index will be rebuilt.  
   
85  =back  =back
86    
87  =cut  =cut
# Line 180  Line 176 
176              Trace("Load statistics:\n" . $stats->Show()) if T(2);              Trace("Load statistics:\n" . $stats->Show()) if T(2);
177          }          }
178      }      }
     if ($options->{re_index}) {  
         # We want to rebuild the text search index.  
         $ca->CreateSearchIndex('HasValueFor');  
         Trace("Search index created on \"HasValueFor\" table.");  
     }  
179      Trace("Processing complete.") if T(2);      Trace("Processing complete.") if T(2);
180  };  };
181  if ($@) {  if ($@) {

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3