104 |
|
|
105 |
=back |
=back |
106 |
|
|
|
=over 4 |
|
|
|
|
107 |
Most of the above preparation is performed by the B<NMPDRSetup> utility. |
Most of the above preparation is performed by the B<NMPDRSetup> utility. |
108 |
NMPDRSetup prints the instructions for completing the process, including |
NMPDRSetup prints the instructions for completing the process, including |
109 |
loading the Sprout database. The specific procedure for loading |
loading the Sprout database. The specific procedure for loading |
110 |
the Sprout data, however, is as follows. |
the Sprout data, however, is as follows. |
111 |
|
|
|
=item 1 |
|
|
|
|
|
Type |
|
|
|
|
|
nohup LoadSproutTables -dbLoad -user=you -background "*" >null & |
|
|
|
|
|
where C<you> is your user ID, and press ENTER. |
|
|
|
|
|
The above command line runs the load in the background. The standard output, |
|
|
standard error, and trace output will be directed to files in the FIG temporary |
|
|
directory. If your user name is C<Bruce> then the files will be named |
|
|
C<outBruce.log>, C<errBruce.log>, and C<traceBruce.log> respectively. |
|
|
|
|
|
If the load fails at some point and you are able to correct the problem, use the |
|
|
C<resume> option to restart it. For example, if the load failed while doing the |
|
|
Feature load group, you would resume it using |
|
|
|
|
|
nohup LoadSproutTables -dbLoad -dbCreate -user=you -resume -background Feature >null & |
|
|
|
|
|
=item 2 |
|
|
|
|
|
Type |
|
|
|
|
|
index_sprout_lucene |
|
|
|
|
|
and press ENTER. This will create the Lucene indexes for the Sprout data. |
|
|
|
|
|
=back |
|
|
|
|
112 |
=head2 LoadSproutTables Command |
=head2 LoadSproutTables Command |
113 |
|
|
114 |
C<LoadSproutTables> creates the load files for Sprout tables and optionally loads them. |
C<LoadSproutTables> creates the load files for Sprout tables and optionally loads them. |
244 |
|
|
245 |
use strict; |
use strict; |
246 |
use Tracer; |
use Tracer; |
|
use DocUtils; |
|
247 |
use Cwd; |
use Cwd; |
248 |
use FIG; |
use FIG; |
249 |
use SFXlate; |
use SFXlate; |