According to Emma Jane Hogbin:
> I'm pretty sure these are the only relevent parts:
> max_head_length:      50000000  # english is 10x bigger
>                                 # and it's big enough
> excerpt_show_top: false                 # true=show top, false=show word
> no_excerpt_show_top: false      # if word not found show text below
> no_excerpt_text: (Aucun des critères de recherche n'a \
>       été trouvé au début de ce document.)
> 
> 
> I'm pretty sure the max_doc_size would affect whether or not any search
> result is found not whether or not it displays. It's currently set to (a
> value smaller than the max_head_length):
> 
> # To limit network connections, ht://Dig will only pull up to a certain
> # limit
> # of bytes. This prevents the indexing from dying because the server keeps
> # sending information. 
> #
> max_doc_size:         200000000

Actually, in the values above, max_doc_size is 4 times the value of
max_head_length, not a smaller value.  That makes sense, though, as
the document "head" (i.e. the chunk of plain text extracted from the
start of the document) would never be larger than max_doc_size.

The rule of thumb is that max_doc_size should be at least as large as
the largest file you want to index, and max_head_length is somewhere
between 0 and max_doc_size, depending on how important it is to you
to make sure an excerpt containing the search word can be displayed
(vs. how much disk space you're willing to use up to accomplish that).

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
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