Newman, David Checking EPrints Database Search Index.
Bash script to check database index - Other
3kB |
EPrints 3 > EPrints 3.4
Installation
Download the Bash script and run as follows to check that all eprint records in the live archive have titles, abstracts and creators indexed (if they exist for that record): ./find_eprint_rindex_unindexed If your EPrints installation's archives are not under /opt/eprints3/archives then specify with -p flag: ./find_eprint_rindex_unindexed -p /usr/share/eprints/archives If you want to check a specific archive rather than the first one the script finds then specify -a flag: ./find_eprint_rindex_unindexed -a my_archive Results are output to the following file or run with -v flag to outout to the screen: EPRINTS_PATH/archives/ARCHIVE_ID/var/eprint_rindex_unindexed.txt If you have un-indexed results you want to ignore you can provide a new line separated list of these in: EPRINTS_PATH/archives/ARCHIVE_ID/var/ignore_eprint_rindex_unindexed.txt
Copyright
University of Southampton
Repository Staff Only: edit this item