Re: local ht://Dig search
| From: | Toni Viemero | Date: | Tue, 23 Jul 2002 19:53:51 +0000 |
| Subject: | Re: local ht://Dig search | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-11524@lists.php.net to get a copy of this message | ||
On Tue, Jul 23, 2002 at 09:37:07AM +0200, Gabor Hojtsy wrote:
> > Are the instructions for setting up local phpweb search still in effect?
> > Reading the README from Mirrors-htdig.tgz instructs setting up local PHP3
> > search with ht://Dig version 3.0.8b2.
> > Latest stable is 3.1.6 and beta 3.2.0b3, can't find 3.0.8b2 anywhere.
> > I'd like to set up local search for fi.php.net, is 3.1.6 version ok?
> Could you please try it out, and report if it's OK or not?
> I don't think so that there would be a problem with setting
> up a newer version. It should be backward compatible ;)
After a couple of tries if went through ok.
Needed couple of modifications on the file php.conf included in
Mirrors-htdig.tgz. The results page looks a bit different than the one on
http://www.php.net results (This can be done with ht://Dig
templates AFAIK).
I'll try to fix the instructions for setting up ht://Dig with recent version
of it.
The main issue is the enormous amount of time it takes to index whole site,
so indexing once a day isn't an option (and not needed IMHO), unless you
run mirror on some quad-xeon box.
Here's the result when I ran the last one with "time ./rundig"
real 328m10.172s
user 59m27.410s
sys 14m24.940s
And I ran it on my own server at home with local copy of phpweb. IBM eSeries
232, P3/1133MHz, 2Gb ECC RAM and fast SCSI disks.
--
Toni Viemerö | http://selfdestruct.net
"I do not fear computers. I fear the lack of them."