circa_admin - Update Circa search database
circa_admin --add --url=url --id=id --add_account_prompt --add_account --url=url --clean --id=id --create --drop --drop_id --id=id --export --exportId --id=id --help --import --man --stats --id=id --parse_new --id=id
circa_admin is used to manage url on circa database. If this is the first time you use Circa, you can do:
circa_admin --create --add_account --url=http://www.monsite.com
This create needed tables and an account 1. Then to index your first url until depth 5, do:
circa_admin --id=1 --parse_new --depth=5
To update these url weekly, use something like this in your cron:
circa_admin --id=1 --update=7 --depth=5
Options supported at this moment:
Create needed table for Circa
Drop table for Circa (All Mysql data related to circa lost !)
Export all data in circa.sql
Export data for account id in circa_id.sql
Import data from circa.sql
Drop table for account id
Add a account with prompt for parameters
Create account for url
Optionnels options are:
Email for responsable of account
Title of account
File used in search
Guess categorie from directory
Do index on orig, but search on dest. Use this with file / http. Eg:
circa_admin --add --url=http://www.alianwebserver.com/ \ --orig=file:///mnt/jupiter/usr/local/apache/htdocs/ \ --dest=http://www.alianwebserver.com/
Be careful to 3 '/' at begin of file, and a '/' at end of 2 url.
Add url in account id.
Parse and indexe url last added for account id
Update url for account id last indexed nb_day ago
Give some stat about account id
Verbose level
Proxy to use
Dump of CircaConf
Recursive index until depth is reached
Minimum weight for index a word
Search::Circa::Indexer
$Revision: 1.6 $
Alain BARBET
To install Search::Circa, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Circa
CPAN shell
perl -MCPAN -e shell install Search::Circa
For more information on module installation, please visit the detailed CPAN module installation guide.