> When I search for a phrase with words not very frequent (I
> mean that not
> many documents found are returned) it works fine. But when I
> try to search a
> phrase wich should return a lot of documents htsearch dies with "Alarm
> clock" after a while. Is there any solution or workaround for this?
>
I'm afraid that this is a known problem of the current query parser. Phrase
search is sluggish.
A new htsearch is on the way, it will hopefully arrive real soon. Don't
expect miracles, but it's going to be quite faster.
If you want to test how long will be the search delay, you can build a
program called qtest in the htsearch directory. It's a rather crude
command-line test program that displays only match counts.
In the meanwhile, you could patch htsearch.cc to increase the timeout for
very long searches. Today this is limited to 5 min. It is hardcoded, so it
can be ony modified by rebuilding htsearch. There's a line that reads
alarm(5 * 60);
Modify it at your will.
// Joaquim Sanmart�
// GTD Ingenier�a de sistemas y de software, S.A.
// c/Rosa Sensat 9-11
// 08005 Barcelona SPAIN
// Tel. +34 93 225 77 00
// Fax. +34 93 225 77 08
// mailto:[EMAIL PROTECTED]
// http://www.gtd.es
_______________________________________________
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