On Monday, February 17, 2003, at 08:35 AM, Aleksey Serba wrote:

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

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

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


Reply via email to