wg-search

Langue: en

Autres versions - même langue

Version: 2010-06-15 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

search - Reindex and search a WebGUI site.

SYNOPSIS

  search --configFile config.conf --indexsite
 
  search --configFile config.conf --updatesite
 
  search --configFile config.conf --search text
 
  search --indexall
 
  search --help
 
 

DESCRIPTION

This WebGUI utility scripts helps maintaining search indexes on any site. It can be used to build the index for an entire site, build the index only for new content, and perform searches.
--configFile config.conf
The WebGUI config file to use. Only the file name needs to be specified, since it will be looked up inside WebGUI's configuration directory. This parameter is required.
--indexsite
Reindexes the entire site specified in the config file. This process may take a while (even hours) depending on the amount of content the site has. Server performance will suffer somewhat during the indexing process. This option requires a --configFile to be specified.
--updatesite
Indexes content that has not be indexed for the site specified in the config file, keeping the indexes for already indexed content intact. This is useful if the --indexsite had to be stopped partway through. This option requires a --configFile to be specified.
--search text
Searches the site specified in the config file for a given keyword or phrase, returning the results. This option requires a --configFile to be specified.
--indexall
Reindexes all the sites. Note that this can take many hours and will affect performance of the server during the indexing process.
--help
Shows this documentation, then exits.

AUTHOR

Copyright 2001-2009 Plain Black Corporation.