xhtmlid

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

xhtmlid

Post by Thunderstone »



I can't shake the following error message, which appears each time I run
the gw walk, on any web site, with the "unique" attribute set:

"Could not find index xhtmlid"

What does it mean?

Scott Cochran


--
--------------------------------------------------------------------
Online Development 13555 Automobile Blvd Suite 350
(813) 556-0120 Clearwater, FL 34622
net-info@ondev.com http://www.ondev.com/spmi/
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

xhtmlid

Post by Thunderstone »




You only need to specify the "-unique" option once. The unique behavior
will stick until you perform a "-nounique" or "-wipe".

This is implied, though not explicitly stated, by the docs:
http://www.thunderstone.com/gwman/node20.html
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

xhtmlid

Post by Thunderstone »



Let me re-phrase the question:

I get this error when I use the "unique option". It doesn't matter if it is
a new database, an old database, one which has been wiped, etc.

I do need to prevent duplicates, in each of the databases, so I need to use
this option.

I am wiping each time I run a walk, just before the gw command, just to make
sure there is no problem with leftover info.


Scott Cochran


At 03:06 PM 1/20/97 EST, you wrote:
--------------------------------------------------------------
Online Development 13555 Automobile Blvd. #350
net-info@ondev.com Clearwater, FL 34622
http:/www.ondev.com/spmi/ (813) 556-0120
--------------------------------------------------------------
Distributed Internet Applications

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

xhtmlid

Post by Thunderstone »




You shouldn't see that message unless you have verbosity turned up.
It is harmless in any case. Its just trying to delete any old version
of the index before recreating it as unique.
(After doing -unique you will see a file called xhtmlid.btr appear in the
database directory.)
Your commands should be something like:
gw -wipe
gw -unique
gw http://the_url
gw -index

If you're paranoid, you can check that the unique index is in place with:
gw -s "select NON_UNIQUE,FIELDS from SYSINDEX where NAME='xhtmlid'"
You should get this:
NAME: xhtmlid
NON_UNIQUE: 0
FIELDS: id

If you have further questions or problems, please include full command line
examples with all options you are using.