I'm going to try the second method in a few minutes, but quick question about the 
first.  When I edited this config

<font size="-1"><input type="hidden" name="config" value><input type="hidden" 
name="restrict" value><input type="hidden" name="exclude" value>Match:
  <select name="method">

to be (truncated)

<input type="hidden" name="exclude" value="http://www.jbase.com/knowlegebase/";>

it returned no results.  Did I just goof up big time with the value or something wrong 
with my system?

Adam
-----Original Message-----
From: Gilles Detillieux [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 5:51 PM
To: Adam Lipson
Cc: ht://Dig mailing list
Subject: Re: [htdig] please point me to the FAQ for this


According to Adam Lipson:
> thanks, I will take a look at both of those options.  That is much
> more clear than the info on the web site.  I take it if I did the
> second option to index the site I would just do a rundig and pass it
> the different config files.  One rundig job per file?

That's correct.

> Also, if I did the second option how are the databases named?  do they
> default to the name of the config file?

No.  The names of the databases are determined by the settings of
database_dir and/or database_base in each of the config files.
See http://www.htdig.org/attrs.html#database_dir
and http://www.htdig.org/attrs.html#database_base

The default for database_dir is determined at compile time, and is the
value of DATABASE_DIR in your CONFIG file.  The default database_base is
${database_dir}/db, so that if database_dir is set to /opt/www/htdig/db,
the databases will be in that directory and called db.docdb, db.docs.index,
db.words.db, db.wordlist, and so on.

I personally think the most sensible way of doing this is do set up
different directories for each database, and set database_dir in each
config file.  Then you'll have the same file names for the databases,
but they'll be in separate directories.

-- 
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 sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to