Well, to figure this out, I just ran some tests.

1) Deleted all databases from the db directory
2) Ran htdig -c /var/htdig/conf/hci.conf

Everything worked as expected. All excerpts appeared as required.

3) Ran rudig.sh

Excerpts vanished.

Here is the htdig and htmerge sections of rundig.sh

##### Dig phase
STARTTIME=`date`
echo Start time: $STARTTIME
echo rundig: Start time:   $STARTTIME > $REPORT
$BASEDIR/bin/htdig $verbose -s -a -c $BASEDIR/conf/$CONF >> $REPORT
TIME=`date`
echo Done Digging: $TIME
echo rundig: Done Digging: $TIME >> $REPORT

##### Merge Phase
$BASEDIR/bin/htmerge $verbose -s -a -c $BASEDIR/conf/$CONF >> $REPORT
TIME=`date`
echo Done Merging: $TIME
echo rundig: Done Merging: $TIME >> $REPORT

##### Cleanup Phase
# To enable htnotify or the soundex search, uncomment the following lines
# $BASEDIR/bin/htnotify $verbose >>$REPORT
# $BASEDIR/bin/htfuzzy $verbose soundex

# Move 'em into place. Since we only need db.wordlist to do update digs
# and we always use -a, we just leave it as .work
mv $BASEDIR/db/db.wordlist.work $BASEDIR/db/db.wordlist
# We need the .work for next time as an update dig, plus the copy for
searching
cp $BASEDIR/db/db.docdb.work $BASEDIR/db/db.docdb
# These are generated from htmerge, so we don't want copies of them.
mv $BASEDIR/db/db.docs.index.work $BASEDIR/db/db.docs.index
mv $BASEDIR/db/db.words.db.work $BASEDIR/db/db.words.db

My guess is I need to either comment out  mv $BASEDIR/db/db.wordlist.work
$BASEDIR/db/db.worlist or change it to cp $BASEDIR/db/db.wordlist.work
$BASEDIR/db/db.worlist

Regardless, I don't understand what would cause the excerpts to disappear.

Any help figuring out why the excerpts are vanishing would be really, really
great!

Very sincerely,

Ted Stresen-Reuter

On 8/29/02 11:54 PM, "Jim Cole" <[EMAIL PROTECTED]> wrote:

> Ted Stresen-Reuter's bits of Thu, 29 Aug 2002 translated to:
> 
>> My config file has max_head_length set to 50000, no_excerpt_show_top set to
>> true, excerpt_length set to 300 (default), and no_excerpt_text undefined.
>> 
>> Recently we made some changes to the site being indexed. The changes cause
> ...
>> We're running rundig.sh as a cron job and I believe that script only updates
>> the database. Should I, perhaps, delete the databases and run rundig.sh from
>> scratch?
> 
> It is certainly worth a try. If you have things set up such that
> the web server is reporting that the files haven't changed, then
> what is in the database will remain unchanged. That doesn't
> really explain how you lost the excerpts in the first place, but
> it might explain why they remain missing.
> 
> Rather than deleting the databases, you could run with -a or
> build in a different location so that you don't clobber your
> current files.
> 
> Jim
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> 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
> 



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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