rewalk fails

puttakanda
Posts: 29
Joined: Wed Sep 19, 2001 5:47 pm

rewalk fails

Post by puttakanda »

I have created an index by running gw on my site (am a licensed Texis user).

When I use the re-walk script
gw -d/morph3/texis/testdb -rewalk, it says it created database, it parses all docs, but fails taelling "could not rename testdb".
I see there are 2-3 monitor process when I check the process tab in Win2K task manager. Upon deleting these processes, it allows me to rename. But gw itself seems to create these processes and fails in renaming the old db. How do I proceed?
puttakanda
Posts: 29
Joined: Wed Sep 19, 2001 5:47 pm

rewalk fails

Post by puttakanda »

One more question. I have created html table in the testdb by running gw -createdb.
Does this html table not have inverted metamorph index on \Title\Meta\Body by default?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

rewalk fails

Post by mark »

Unfortunately, gw's old -rewalk logic doesn't work well with the new database monitoring system. As you noted, you can do the -rewalk then kill the monitors on the live and new database and rename the new to live.

Another option would be to walk to a new, manually specified, database and change the name of the database in the search script to the new one when it's finished.

Or, if your texis is new enough (august 2001), you could download the webinator 4 beta and use only the included scripts, not the texis executable. It can accomplish a rewalk without monitor problems.

The metamorph inverted index is created when after you do a walk or -index.
puttakanda
Posts: 29
Joined: Wed Sep 19, 2001 5:47 pm

rewalk fails

Post by puttakanda »

Do you mean copy the gw.exe and monitor.exe to my /morph3 directory?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

rewalk fails

Post by mark »

No. I mean ignore all exe's and use only the new vortex scripts with your existing texis.
puttakanda
Posts: 29
Joined: Wed Sep 19, 2001 5:47 pm

rewalk fails

Post by puttakanda »

I am trying to use run gw script with -rewalk option for re-indexing the site at specified schedules. Can you give me the steps to do this. I don't think we need any vortex scripts for this.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

rewalk fails

Post by mark »

Assuming your database is called "db":
make sure there are no _db directories laying around.
perform gw -rewalk
kill the monitor on the _db database
kill the monitor on the db database
rename db to db.old
rename _db to db
delete db.old directory