>> The problem is:
>> I have two configuration files for different projects with same
>> settings:
>>          max_head_length:        1000000
>>          no_excerpt_show_top:    true
>>          excerpt_show_top:       false
>>          start_highlight:        <strong>
>>          end_highlight:          </strong>
>>
>> Search results using first configuration file display properly,
>> i.e. excerpt are not the top of document and contain highlighting
>> keywords.
>> Search results using second configuration file always display the 
>> document top
>> without any highlighting.

JC> Did you reindex after setting max_head_length on the system where 
JC> things are not working as expected? This attribute is used to determine 
JC> how much text should be saved at index time for later use in excerpts. 
JC> If it had a small value when you indexed, then anytime a match fails to 
JC> occur in that small amount of text your no_excerpt_show_top setting 
JC> will force the top of the document to be displayed, with no 
JC> highlighting.

JC> If you are not certain that you reindexed after setting max_head_length 
JC> to 1000000, then the previous advice of repeating the dig with the -i 
JC> option seems like the next logical step.

I'm using rundig after any changes in config file.
It's something like tambourine :)

One more thing, even pages containing in document top search keywords
display keywords in results without highlighting.

Is there some way to debug htsearch?

Thx.
    Aleksey



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