Bill Moseley wrote:
On Thu, 21 Mar 2002 20:03:06 +0800
Stas Bekman <[EMAIL PROTECTED]> wrote:
I'm back to work on the search, Bill.
A question here: is it possible to index from filesystem and not via the
webserver? I think you can.
It's possible to index the file system, sure. I think it's best to spider since it's indexing really what can be reached via links.
ok, it's just that's much slower to index via web.
If so can we replace MODPERL_SITE with:
MODPERL_BASE_URL = ...
which is always a URL
optionally we want to have MODPERL_BASE_DIR, which is then used for
indexing and MODPERL_BASE_URL is for proper linking.
In fact I think we could have only one variable which doesn't include
the hardcoded URL, and can be a URL or file PATH, so we can move the
site around the index will still work, if the URLs are relative. Is it
possible? Is it a good idea?
Maybe it's too early as I'm not seeing the reason for this. The index is portable. And the pathname can be made relative during indexing, and then "fixed-up" when searching, so that it will work anywhere.
ok, thanks :)
--
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]