A-Z and eBook Search Indexes
|
AZ Index
1 eJournal A-Z index tools
2 eBook Search index tools
3 eJournal A-Z index tools for multiple instances (only by sfxglb41)
4 eBook Search index tools for multiple instances (only by sfxglb41)
Please select [1-2,q,m]:
|
eJournal A-Z Index Tools
|
AZ Tools
1 (Re)build the AZ index
2 (Re)build RSI and AZ index
3 Show scheduled AZ (and RSI) index builds
4 Schedule an AZ (and RSI) index build
Please select [1-4,q,m]:
|
|
Running the index builder may take a long time, possibly hours depending on the amount of active portfolios.
Are you sure you want to continue? [y/n] y
AZ IndexBuilder initializing.
Logging to /exlibris/sfx_ver/sfx4_1/sfxlcl41/logs/az_index_builder.20070410140334.log.
Creating AZ build tables...
Creating build tables ...
Acquiring all locally active portfolios...
Preparation done
Loading active titles...
Filling titles extra info...
- Retrieving displayers (ISSN, LCCN etc)...
- Done retrieving displayers (ISSN, LCCN etc)
- Retrieving MAIN title...
- Done retrieving MAIN title
- Retrieving ABBREV titles...
- Done retrieving ABBREV titles
- Retrieving categories...
- Done retrieving categories
- Retrieving target services...
- Done retrieving target services
- Updating records...
- Done updating records
|
|
Done filling extra into for titles
Copying data from build tables...
Reloading AZ cache...
Done reloading AZ cache
AZ Index Builder done.
AZ Profile: default
* Active objects processed: 13987
* Failed objects (see log for details): 0
* AZ Titles loaded: 13987
* AZ Letter Groups created:: 13987
* AZ Searchable Titles created:: 32346
|
|
This option will first (re)build RSI index - then (re)build A-Z index. The process may take a long time, possibly hours depending on the amount of active portfolios. Are you sure you want to continue? [y/n] |
- Journals in the SFX KnowledgeBase missing required title information for display or sorting are not included in the A-Z list. They are listed in the log file generated during the A-Z index creation. This log file is located at:
/exlibris/sfx_ver/sfx4_1/
- Some configuration of the A-Z list is required before the A-Z index can be built. This configuration is done from the SFXAdmin center by clicking the A-Z List option from the Configuration section of the Set-Up and Administration area. (More information can be found in the A-Z List section of the SFXGeneral User's Guide.)
- The A-Z index building prints an error message and quits if there is no country defined in the default A-Z configuration.
|
AZ Tools
1 (Re)build the AZ index
2 (Re)build RSI and AZ index
3 Show scheduled AZ (and RSI)index builds
4 Schedule an AZ (and RSI) index build
Please select [1-3,q,m]: 4
Please define index to rebuild:
1 AZ index
2 RSI + A-Z index
Please select [1-2,q,m]:1
Please enter scheduling parameters
Time must be in the form HH:MM where
HH can be: 00-23 for midnight-11PM or * for every hour
MM can be: 00-59 or * for every minute
Enter the time to run [00:00]: 2:30
Would you like to schedule for a certain weekday? [Y/n] n
Please enter month (1-12 for January-December respectively or '*' for every month) [*]: *
*
Please enter day of the month (1-31 or '*' for every day) [1]: *
*
Successfully added the refresh task to your crontab.
|
|
AZ Tools
1 (Re)build the AZ index
2 (Re)build RSI and AZ index
3 Show scheduled AZ (and RSI)index builds
4 Schedule an AZ (and RSI) index build
Please select [1-3,q,m]: 3
AZ indexing schedule is as follows:
[1] AZ index only - 00:00 of every Sunday of every month
[2] RSI + AZ index - 00:00 of every Sunday of every month
Would you like to remove any of these? [y/N] y
Please enter the number of the task to remove or
|
eBook Search Index Tools
|
eBook Search Tools
1 (Re)build the eBook Search index
2 (Re)build eBook RSI and Search index
3 Show scheduled eBook Search (and RSI) index builds
4 Schedule an eBook Search (and RSI) index build
Please select [1-4,q,m,u]:V
|
|
Running the eBook search index builder may take a long time, depending on the amount of active portfolios. Are you sure you want to continue? [y/n] |
|
The eBook search index build can be either 'complete' or 'incremental'. Incremental build is recommended as it will take less resources and time. Do you want to use incremental build - if this is available in your instance? Type (i) for incremental build, or (c) for complete build: [i] |
|
In case incremental build of the eBook search index cannot be performed, do you want to run complete build instead? Note that in a live SFX environment, a complete build of the eBook search index is recommended to be run at night or during a server 'slow' time, because it requires a significant amount of system resources. [y/N] |
Schedule an eBook Search (and RSI) Index Build
- An incremental only build once a day (or on another frequent schedule). This build is fast and does not impact SFX performance.
- A build using the incremental unless complete build is required option once every night (or less frequently, for example, a few times a week or even weekly).
Do not schedule this build to run during the day because a complete build is performed if the incremental build cannot be run. Running a complete build may impact SFX performance.
Configuration
|
Section "complete_build_params" # The parameters below determine the maximum amount of changes allowed for incremental build of the monograph A-Z index. # If the number of changes in the SFX KB exceeds the parameters below, a complete build is required. max_op_changes "15000" EndSection |
A-Z Index Tools for Multiple Instances
|
sudo permission for run_rsi_az_for_all_instances.pl is mandatory, the script cannot run. |
|
Building RSI and eJournal A-Z index for multiple instances (only by sfxglb41) 1 (Re)build RSI and eJournal A-Z index
Please select [1,q,m,u]: |
|
Warning: This option can only be used if sudo permissions have been set up for the file admin/aztools/run_rsi_az_for_all_instances.pl. Otherwise, the index build will fail. Define instances for which index should be (re)build: 1 all instances 2 all except test instances 3 use configuration file 4 specify instances Please select [1-4,q,m,u]: |
Building the Index for All Instances
|
Running the index builder may take a long time, possibly hours depending on the amount of active portfolios. Are you sure you want to continue? [y/n] |
|
Logging activity for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl at '/exlibris/sfx_ver/sfx4_1/sfxglb41/logs/run_rsi_az_for_all_instances_new.pl-2012-05-24T13:35:11.log'. Starting /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl Running journals Index build for instance: sfxlcl41 - done. Running journals Index build for instance: new41 - done. Done for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl |
Building the Index for All Local Instances Except the Test Instances
Building the Index for Instances Listed in a Configuration File
- the global instance file – /exlibris/sfx_ver/sfx4_x/sfxglb41/config/rsi_ebook_setup.config
The instances should be listed in the section. For example:
|
Section "index_build" SST01 SST02 SST03 EndSection |
the rsi_az_index section in the config/rsi.config file of the local instances:
|
Section "rsi_az_index" scheduled_build "Y" EndSection |
If this section exists and the value is Y, the instance is added to the set of instances for which the build is run. If this section does not exist or its value is N, the instance is not included in the build. The default value for the scheduled_build parameter is N.
Building the Index for Specific Instances
|
Please enter instances names (comma separated if multiple): |
|
This option will first (re)build RSI index - then (re)build eJournal A-Z index. Running the RSI + eeJournal A-Z index builder may take a long time, depending on the amount of active portfolios. Are you sure you want to continue? [y/n]
|
|
The RSI + eJournal A-Z index build can be either 'complete' or 'incremental'. Incremental build is recommended as it will take less resources and time. Do you want to use incremental build - if this is available in your instance? Type (i) for incremental build, or (c) for complete build: [i] |
|
In case incremental build of the RSI + eJournal A-Z index cannot be performed, do you want to run complete build instead? Note that in a live SFX environment, a complete build of the RSI + eJournal A-Z index is recommended to be run at night or during a server 'slow' time, because it requires a significant amount of system resources. [y/N] |
|
-------> sudo /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances.pl --object_type=m --build_type=i --list=sfxlcl41,new41 dLogging activity for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl at '/exlibris/sfx_ver/sfx4_1/sfxglb41/logs/run_rsi_az_for_all_instances_new.pl-2012-05-24T15:01:03.log'. Starting /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl Running eJournal A-Z index build for instance: sfxlcl41 - done Running eJournal A-Z index build for instance: new41 - done. Done for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl |
eBook Search Index Tools for Multiple Instances
|
sudo permission for run_rsi_az_for_all_instances.pl is mandatory, the script cannot run. |
|
Building RSI and eBook Search index for multiple instances (only by sfxglb41) 1 (Re)build RSI and eBook Search index Please select [1,q,m,u]: |
|
Warning: This option can only be used if sudo permissions have been set up for the file admin/aztools/run_rsi_az_for_all_instances.pl. Otherwise, the index build will fail. Define instances for which index should be (re)build: 1 all instances 2 all except test instances 3 use configuration file 4 specify instances Please select [1-4,q,m,u]: |
Building the Index for All Instances
|
Running the index builder may take a long time, possibly hours depending on the amount of active portfolios. Are you sure you want to continue? [y/n] |
|
Logging activity for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl at '/exlibris/sfx_ver/sfx4_1/sfxglb41/logs/run_rsi_az_for_all_instances_new.pl-2012-05-24T13:35:11.log'. Starting /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl Running journals Index build for instance: sfxlcl41 - done. Running journals Index build for instance: new41 - done. Done for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl |
Building the Index for All Local Instances Except the Test Instances
Building the Index for Instances Listed in a Configuration File
- the global instance file - /exlibris/sfx_ver/sfx4_x/config/sfxglb41/config/rsi_ebook_setup.config
The instances should be listed in the section. For example:
|
Section "index_build" SST01 SST02 SST03 EndSection |
the rsi_az_index section in the config/rsi.config file of the local instances:
|
Section "rsi_az_index" scheduled_build "Y" EndSection |
If this section exists and the value is Y, the instance is added to the set of instances for which the build is run. If this section does not exist or its value is N, the instance is not included in the build. The default value for the scheduled_build parameter is N.
Building the Index for Specific Instances
|
Please enter instances names (comma separated if multiple): |
|
This option will first (re)build RSI index - then (re)build eBook search index. Running the RSI + eBook search index builder may take a long time, depending on the amount of active portfolios. Are you sure you want to continue? [y/n]
|
|
The RSI + eBook search index build can be either 'complete' or 'incremental'. Incremental build is recommended as it will take less resources and time. Do you want to use incremental build - if this is available in your instance? Type (i) for incremental build, or (c) for complete build: [i] |
|
In case incremental build of the RSI + eBook search index cannot be performed, do you want to run complete build instead? Note that in a live SFX environment, a complete build of the RSI + eBook search index is recommended to be run at night or during a server 'slow' time, because it requires a significant amount of system resources. [y/N] |
|
-------> sudo /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances.pl --object_type=m --build_type=i --list=sfxlcl41,new41 dLogging activity for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl at '/exlibris/sfx_ver/sfx4_1/sfxglb41/logs/run_rsi_az_for_all_instances_new.pl-2012-05-24T15:01:03.log'. Starting /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl Running eBooks Index build for instance: sfxlcl41 - done Running eBooks Index build for instance: new41 - done. Done for /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances_new.pl |
Scheduling an A-Z eJournal List and eBook Search Index Build for Multiple Instances
- Log on as the root user.
- Type crontab -e
- Specify the scheduled build of the indexes by using the following syntax:
|
|
For example:
|
16 12 * * 01 /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/aztools/az_for_all_instances/run_rsi_az_for_all_instances.cron --build_type=c --object_type=m --instances=all_except_test |
- Build type
- --build_type (required) - can be either c for complete build, or i for incremental build
If you choose an incremental build, the following additional options are available:
- --no_complete - do not do a complete build if an incremental build is not possible
- --email=
- the e-mail address to which to send an e-mail if an incremental build cannot be performed
- --build_type (required) - can be either c for complete build, or i for incremental build
- Object type
--object_type (required) - can be m for monographs (to build the monograph RSI and eBook Search index) or s for serials (to build the serials RSI and A-Z index)
- List of instances (list/instances) for which to build the indexes.
Do one of the following:
- Provide a list of instances by using: --list=
(separate instance names with a comma (,). - Indicate the instances by using: --instances=
The following options are available:
- all - build the index for all instances.
- all_except_test - build the index for all local instances except the test instances. These instance are indicated by having tst or test in the file name.
- file - build the index for instances listed in a configuration file. For more information on building the index for instances listed in a configuration file, see Building the Index for Instances Listed in a Configuration File.
- Provide a list of instances by using: --list=