According to Daniel Escobar:
> > OK, is the Linux platform Intel-based, and the SunOS platform SPARC-based?
> > Are you just copying the databases created on Linux over to SunOS and
> > running htsearch directly on it?  If yes to all the above, it's a wonder
> > it works at all.  The databases are byte-ordering sensitive, and Intel
> > uses a different byte-ordering for integers than SPARC does.
> 
> I'm buiding the dbases under an Intel-based platform, but after I transfer them to 
>the
> SunOS machine, I run htmerge on them. I guess I am lucky they are
> working.
> 
> > ./htdig -vvvvv -s -i -c my_config_file.conf
> 
> I'v ran the above command, and it is detecting the title, which tells me that the
> reason why it is NOT working, is due to the transfer btw platforms (perhaps).

Yes, I've also noticed that your htsearch is reporting incorrect file
sizes in results, which is another indication that it's not reading the
db.docdb records correctly.  Running htmerge isn't enough - that will
rebuild the db.docs.index and db.words.db, which is good, but it won't
rebuild the db.docdb, which is bad.

You should upgrade both systems to the latest 3.1.6 snapshot in
http://www.htdig.org/files/snapshots/, and then you can use htdump on
the linux box to get a text version of db.docdb (in db.docs), then copy
db.docs and db.wordlist (both ASCII files) to SunOS and run htload and
htmerge to rebuild the databases correctly.

-- 
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