According to Narayan S. Raja:
> I need to build the search databases (i.e., run htdig) on Linux
> but then move them to a Solaris machine for the actual searching.
>
> But this doesn't work, apparently because the "DB" databases under
> Linux are little-endian, whereas Solaris is big-endian.
>
> Am I missing some simple solution? Is there any option I can
> use to build the search databases in big-endian format? Or is
> any conversion utility available?
There is now. Download and apply the following patch to 3.1.5 on both
Linux and Solaris machines:
ftp://ftp.ccsf.org/htdig-patches/3.1.5/htdump-htload.0
Then, after running htdig on Linux, you can run htdump (a symlink to
htdig), or just run htdig initially with the -t option. Either way
will produce a db.docs file in your database_dir, which is an ASCII
representation of db.docdb. Then, copy db.docs and db.wordlist over to
the Solaris system, in your database_dir there, and run htload (also a
symlink to htdig), and finally htmerge to get all the binary databases
built from the two ASCII files.
--
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