RE(2): database integrity while indexing

User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

RE(2): database integrity while indexing

Post by Thunderstone »



I solve the problem by indexing into a new database, then when I'm done I

cp db/top.html newdb
cp db/bottom.html newdb
mv db olddb
mv newdb db
rm -rf olddb

Of course, this assumes you have enough disk space...


---- webinator(a)thunderstone.com's Message ----

At 04:35 PM 1/10/97 EST, you wrote:

I have the same problem. We index with:

NOTE: actual url has been removed....

index_web.sh
============

echo Clearing the database
/usr/local/etc/httpd/htdocs/webinator/bin/gw -wipe

echo Making Database Entries
/usr/local/etc/httpd/htdocs/webinator/bin/gw http://local-url

echo Indexing Entries
/usr/local/etc/httpd/htdocs/webinator/bin/gw -index
============

During walking, all pages show up for any search.

Bob