Please excuse me for the dumb question but:
How do I compile db_dump.c under CYGWIN version 2.249.2.5 in Htdig 
Version 3.1.6?

I recreate the index from scratch every day using a dos batch file.
c:\htdig\bin\htdig -v -s -a > c:\htdig\bin\diglog.txt
IF ERRORLEVEL 1 GOTO :ENDFILE
c:\htdig\bin\htmerge -v -a > c:\htdig\bin\mergelog.txt
IF ERRORLEVEL 1 GOTO :ENDFILE

DEL c:\htdig\db\*.bak
REN c:\htdig\db\db.docdb db.docdb.bak
REN c:\htdig\db\db.docs.index db.docs.index.bak
REN c:\htdig\db\db.wordlist db.wordlist.bak
REN c:\htdig\db\db.words.db db.words.db.bak
REN c:\htdig\db\db.docdb.work db.docdb
REN c:\htdig\db\db.docs.index.work db.docs.index
REN c:\htdig\db\db.wordlist.work db.wordlist
REN c:\htdig\db\db.words.db.work db.words.db

:ENDFILE

I could search for some of the lost terms on Friday and after
the batch file was run again the terms cannot be found.

Memory has been added to our server since Htdig was last compiled.
Should I try recompiling?

Randall ><>

> Yet, lost entries in db.words.db seems to be the most reasonable
> explanation for this problem.  About all I can think to suggest right
> now is to try compiling and running db/db_dump/db_dump.c to look at the
> entries in db.words.db and see if anything is missing.  If entries are
> missing, then htmerge isn't building this db correctly under Cygwin.
> If the db is complete, then htsearch doesn't seem to be finding all the
> entries under Cygwin, or is rejecting them for some unknown reason.

> Oh, have you tried reindexing from scratch to see if that makes the
> problem go away?  It may be that the database has become corrupted
> somehow.  (Although htmerge rebuilds db.words.db from scratch each time
> you run it, it may be that htsearch is dropping results because of a
> corrupted db.docdb.)  Does the number of matches reported by htsearch
> agree with how many results are actually shown?




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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