According to Daniel Escobar:
> Do you know if the index files are platform specific? Meaning if they are indexed in 
>an Intel machine, and then
> transfered to a Sparc, will htdig work?
> I'm asking because I ran cksum on both platforms and they are identical, so I don't 
>know if the platform issue
> is what's causing htdig not to work.

cksum just does a byte-by-byte analysis of the files, and doesn't account
for differences in word order on different machines.  The problem is that
the db files contain a lot of binary data which is word-order-dependent,
so you can't move a big-endian db to a little-endian machine, or vice-versa.

htdig version 3.2.0b3 includes htdump/htload utilities to dump databases to
ascii format, and reload on another machine.  I've written a patch for 3.1.5
that lets you do this to the 3.1.5 db.docdb file (the wordlist is ascii in
3.1.x).  You can get it at

        ftp://ftp.ccsf.org/htdig-patches/3.1.5/htdump-htload.0

Read the notes carefully before trying to use it, and if the web sites
you index contain multi-line meta description tags you'll probably need
to reindex before you can successfully use htdump and htload.

As for overlapping database updates and searching, especially if you
want to update an existing database rather than reindexing from scratch,
you may want to have a look at the contributed rundig.sh script in:

        ftp://ftp.htdig.org/pub/htdig/contrib/scripts/

If you want to reindex from scratch, but in an alternate database, until
the indexing is complete, use the -a option to the standard rundig script
that comes with htdig.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to