Subject: Re: [htdig] around matched words
According to Aaron Turner:
3.1.3, eh? Did you apply the highlight patch to one of these? If so,
If not, there's another reason why the highlighting might not work.
Another possibility might be that you're searching for multiple words, but
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.
This archive was generated by hypermail 2b28
: Mon Dec 13 1999 - 10:45:16 PST
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Mon Dec 13 1999 - 10:31:51 PST
> I'm trying to track down why on one ht://dig 3.1.3 install in the results
> list, it puts <strong></strong> around the matched words, but on another
> install they're not there. I can't find anything in the templates to turn
> it on/off...
check your settings of start_highlight and end_highlight.
If the search words aren't found in the first max_head_length bytes of
a document, and no_excerpt_show_top is true, htsearch will display the
first bit of the document, but there's nothing to highlight because the
words you're looking for aren't there.
the only ones that appar in the excerpt are less than minimum_word_length,
or are in bad_words. Older versions of htsearch highlighted these
anyway, but htsearch 3.1.3 and later don't because they're not used in
the database search (and never were).
--
Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca>
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