Note: This documentation is for an old version of Webinator. The latest documentaion is here.

Using Multiple Databases

Once you have a live searchable database you may want to build a separate one to contain different kinds of pages or to experiment without destroying your live database. Use the -d option to specify a different database.

gw -d/usr/local/etc/httpd/htdocs/webinator/fun
     http://www.asite.com/fun/

gw -d/tmp/testdb http://www.asite.com
The first pair of commands will create/use a database that is accessible to the searcher by the name of fun. The second will create/use a database in /tmp called testdb.

When you specify a database that doesn't exist you will get a message that there is no such database and it will be created automatically.

See section 0.3.7 for how to search these alternate databases.


Copyright © Thunderstone Software     Last updated: Tue Nov 6 10:58:47 EST 2007
Copyright © 2024 Thunderstone Software LLC. All rights reserved.