
combineUtil - various operations on the Combine database

combineUtil <action> --jobname <name>
where action can be one of stats, termstat, classtat, sanity, all, serveralias, resetOAI, restoreSanity, deleteNetLoc, deletePath, deleteMD5, deleteRecordid, addAlias

jobname is used to find the appropriate configuration (mandatory)
Global statistics about the database
generates statistics about the terms from topic ontology matched in documents (can be long output)
generates statistics about the topic classes assigned to documents
Performs various sanity checks on the database
Deletes records which sanity checks finds insane
Removes all history (ie 'deleted' records) from the OAI table. This is done by removing the OAI table and recreating it from the existing database.
Does the actions: stats, sanity, classtat, termstat
Deletes all records matching the ','-separated list of server net-locations (server-names optionally with port) in the switch --netlocstr. Net-locations can include SQL wild cards ('%').
Deletes all records matching the ','-separated list of URl paths (excluding net-locations) in the switch --pathsubstr. Paths can include SQL wild cards ('%').
Delete the record which has the MD5 in switch --md5
Delete the record which has the recordid in switch --recordid
Detect server aliases in the current database and do a 'addAlias' on each detected alias.
Manually add a serveralias to the system. Requires switches --aliases and --preferred

Does various statistics generation as well as performing sanity checks on the database

combineUtil termstat --jobname aatestGenerate matched term statistics

combine
Combine configuration documentation in /usr/share/doc/combine/.

Anders Ardö, <anders.ardo@it.lth.se>

Copyright (C) 2005 Anders Ardö
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
See the file LICENCE included in the distribution at http://combine.it.lth.se/