On Mon, 15 Jan 2001, George Roberts wrote:
> > I'm completely new to this software, but inherited a large site which
> > uses it.  I made a simple change to some javascript on one of the
> > indexed pages, and I have NO CLUE how to reindex the whole site.  Could
> > someone please help?

According to Geoff Hutchison:
> It depends a lot on how the original person installed it and your system.
> But usually there's a program "rundig" that creates the databases. Many
> people just hack this script to fit local needs, others create local
> versions (e.g. mine is "rundig.sh"). Of course the best thing to do is to
> write a version that can be run through the cron program which ensures the
> indexes are updated on a regular basis automatically. But I digress.
> 
> So first, I'd suggest finding the directory containing the databases, e.g.
> 
> locate db.wordlist
> 
> Next, make a backup of the files in there. Then see if you can find the
> rundig script. If so, look for any evidence of a local version with a
> possibly newer date. If the rundig script you have mentions "alt"
> somewhere in it, try running "rundig -a" which will update the databases
> using alternate .work files.
> 
> That should get you started in the right direction.

But bear in mind that htdig does not index JavaScript, so your
changes to the JavaScript on one of the indexed pages may not
have any effect at all on searches even after you reindex.
See http://www.htdig.org/FAQ.html#q5.18

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to