Is there any way to look inside the htdig databases to see if the excerpts are in fact in there?
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 the dig to fail (the site was returning some 400 code: this page has moved, I think, can't remember, anyway...). No documents were indexed and the database was basically empty. We fixed the problem and reindexed, but now the excerpts aren't being returned. I tried sending /var/www/cgi-bin/htsearch "words=allstate&config=hci" via the command line to see the raw output, and no excerpt appears to be returned, which makes me think no excerpt exists. 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? Ted Stresen-Reuter On 8/28/02 10:16 PM, "Jim Cole" <[EMAIL PROTECTED]> wrote: > Ted Stresen-Reuter's bits of Wed, 28 Aug 2002 translated to: > >> BTW, I'm running rundig.sh and I'm getting the following output: /usr/true >> is absent or unwilling to execute. > > Are you sure it isn't /bin/true ? 'true' is a command that simply > returns true. I believe the message you are referring to is > generated by conv_doc.pl. By default, it sets the converter for > a couple formats to /bin/true. If one of those formats are > encountered, an attempt would be made to convert with /bin/true. > >> Also, any idea why the excerpt field would be empty when getting search >> results? > > This can happen if the term(s) occurred in part of the document > that was not stored. See > > http://www.htdig.org/attrs.html#max_head_length > > Also, the following might be useful. > > http://www.htdig.org/attrs.html#excerpt_length > http://www.htdig.org/attrs.html#no_excerpt_show_top > http://www.htdig.org/attrs.html#no_excerpt_text > > Jim > ------------------------------------------------------- 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

