According to Aleksey Serba:
> >> 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 
...
> 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?

Well, you can run htsearch from the command line, and include some -v
options on the command.  It will give you a bit of extra feedback, and
show you some of the things it does along the way, as well as showing you
the HTML output it generates.  That sometimes can help isolate problems.

You mention that you have two different config files for different
projects, and show some of the settings, but it might be helpful to know
more about what's the same and what's different about these two projects.
Do both config files (and both projects) run on the same server, or
on different servers?  If the servers are different, how so?  What OS
version(s)?  What differences are there in the two config files besides
maybe database_dir?  Are the web pages for the two projects radically
different in format?

Also, if you can boil this down to a simple case on each project, where
doing essentially the same thing in one HTML document on one project
works, and on the second one it doesn't, then that would be very helpful.
Right now, there are just too many unknown variables to know where the
problem might be.

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