The way I am doing it (without the PHP, I provide pull down menus from
a form) is to have two scripts and corresponding configuration files.
If A is internet and B is (internet U intranet), set the configuration
of A trivially and index. Then set the htdig line in the script of B
so as to dig in the intranet space and set the htmerge line in the
script to merge the two dbs (apropos) like this
htmerge -m $HTDIG_HOME/conf/A.conf -c $HTDIG_HOME/conf/B.conf
The htdig home page http://www.htdig.org/ mentions how to use the -c
flag in all the ht executables.
HTH,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Kostas Kavoussanakis Applications Consultant, EPCC |
| mailto:[EMAIL PROTECTED] phone: +44 131 650 5021 |
| http://www.epcc.ed.ac.uk/%7ekavousan fax: +44 131 650 6555 |
| 3404 JCMB, Mayfield Road, Edinburgh EH9 3JZ, Scotland |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Wed, 21 Jul 1999 [EMAIL PROTECTED] wrote:
>
> Thanks for your response Torsten, I can cope with the PHP bit
> which would dynamically decide which index to use, but it's the
> htdig part. Would I use a different config file, or something like
> that, because I don't see anywhere to put a reference to the index
> that is created. In fact I don't even know where it is stored!!
>
>
> Henry
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.