This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: modperl@apache.org From: Yung Kwong Wing <yungp@netvigator.com> Subject: searchable site Date: Tue, 2 Jan 2001 02:24:18 +0800 (HKT) Hi, I was wondering...does anyone know of any links on using Perl to make a searchable site just like the site in "www.apache.org" or "www.apache.org". Does making a searchable site involve a lot of things? Thanks. Peter === To: Yung Kwong Wing <yungp@netvigator.com>, modperl@apache.org From: Bill Moseley <moseley@hank.org> Subject: Re: searchable site Date: Mon, 01 Jan 2001 17:49:18 -0800 At 02:24 AM 01/02/01 +0800, Yung Kwong Wing wrote: >I was wondering...does anyone know of any links on using Perl to make a >searchable site just like the site in "www.apache.org" or >"www.apache.org". Apache.org uses SWISH-E, if I remember correctly. http://sunsite.berkeley.edu/SWISH-E/ Do note that there's a 2.0 version out that does phrase searching, and 2.1 is currently be developed. I've been told that there are "SWISH" modules on CPAN that make using swish-e a snap in perl </shameless plug>. I'd stay away from many of the CGI examples on the current swish-e site due to the security issues with piped opens. The CPAN modules will let you move seamlessly from the forked model of 2.0 to the library version of swish-e when 2.1 comes out. This means you can run swish under mod_perl without forking. (Although my ab benchmarks didn't show that much of a difference between forking and non-forking searches under mod_perl). Oh, and thanks for the reminder -- I forgot to upload a bug fix to CPAN. === To: Bill Moseley <moseley@hank.org> From: "Paul J. Lucas" <pauljlucas@mac.com> Subject: Re: searchable site Date: Mon, 1 Jan 2001 19:08:06 -0800 (PST) On Mon, 1 Jan 2001, Bill Moseley wrote: > Apache.org uses SWISH-E, if I remember correctly. > > http://sunsite.berkeley.edu/SWISH-E/ Although getting off-topic, SWISH++ is significantly faster: http://homepage.mac.com/pauljlucas/software/swish/ > The CPAN modules will let you move seamlessly from the forked model of 2.0 > to the library version of swish-e when 2.1 comes out. This means you can > run swish under mod_perl without forking. SWISH++ can run as a multi-threaded daemon that listens on either a Unix-domain or TCP socket, hence also without forking. === To: modperl@apache.org From: Bill Moseley <moseley@hank.org> Subject: Re: searchable site Date: Mon, 01 Jan 2001 19:19:47 -0800 At 07:08 PM 01/01/01 -0800, Paul J. Lucas wrote: > SWISH++ can run as a multi-threaded daemon that listens on > either a Unix-domain or TCP socket, hence also without forking. Which I would guess seems like a better use of resources than placing the SWISH-E code in each httpd child. I was going to ask you why or what makes it "faster" and if that applies to SWISH-E 2.x, but that's a bit too off topic. Maybe in separate email. BTW: http://homepage.mac.com/pauljlucas/software/swish/man/ seems broken. === To: Bill Moseley <moseley@hank.org> From: "Paul J. Lucas" <pauljlucas@mac.com> Subject: Re: searchable site Date: Mon, 1 Jan 2001 20:28:26 -0800 (PST) On Mon, 1 Jan 2001, Bill Moseley wrote: > BTW: http://homepage.mac.com/pauljlucas/software/swish/man/ seems broken. The documentation link (different from above) is now fixed: http://homepage.mac.com/pauljlucas/software/swish/documentation.html Thanks. (Apple, in their infinite wisdom, decided not to implement directory listings in their web server.) - Paul ===