Gilles Detillieux (email@example.com)
Thu, 19 Aug 1999 09:19:18 -0500 (CDT)
According to Robert Cerny:
> This could be true but the string is NOT in text!
> btw, I edited htdig.conf and set the bigger number :))
These questions are often easier to answer when dealing with specifics,
like what the string actually is. Anyway, I've found that sometimes,
htsearch will find a word in the database, but not in the excerpt,
because words in the database have punctuation stripped off. E.g.,
if you search for "ill" or "postdoctoral", but the word in the excerpt is
"I'll" or "post-doctoral", htsearch finds a match in the word database,
but not in the document excerpt.
You can get htsearch to show the top part of the excerpt anyway, but
without highlighting in these cases, by setting this in your htdig.conf:
> >From: Nicolas.Poizot@alcatel.fr
> >To: firstname.lastname@example.org
> >Subject: [htdig] weird results
> >Date: ăt 19. 8. 1999 14:14
> >> Hi,
> >> I asked htdig about one word on our server and it responded:
> >> url, 4! stars and text:
> >> (None of the search words were found in the top of this document)
> >> what does it mean?
> > When you make the index, you specify a variable : max_head_length
> > this variable give the size of the top document keep in your database for
> > each document.
> > If your htsearch find a document, but the word is in part not keeped ny
> > htdig, htsearch cannot watch it.
> > Example:
> > I have a max_head_length of 50000 bytes
> > I have a document of 100000 bytes. Only the 50000 of the top is keeped.
> > When a search a word is in the second part of the document, htsearch can
> > give the link, but not the context of this word.
> > If you want that always htsearch give the context, you must give a large
> > limit for this variable.
-- Gilles R. Detillieux E-mail: <email@example.com> 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
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org containing the single word unsubscribe in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Thu Aug 19 1999 - 07:20:46 PDT