[greenstone-users] Re: [greenstone-devel] How to add new records to old collection???

From John R. McPherson
DateFri, 15 Sep 2006 22:21:01 +1200
Subject [greenstone-users] Re: [greenstone-devel] How to add new records to old collection???
In-Reply-To (20060914072815-HM-0000000000000II-seenu-b-bos-mail-wwl3-lycos-com)
On Thu, Sep 14, 2006 at 07:28:15AM -0400, srini vasulu wrote:

> I have build a html collection using GSDL in command mode which
> has about 100 records in it. now when i tried to add new records to
> it, it is not adding to old collection. the command i used is perl -S
> buildcol.pl -keepold <collection name>.
>
> so, in this regard i want to know what is the problem and which
> commands i have to use.

buildcol.pl builds a new index without modifying the current one, so
you can continue to serve a collection while re-indexing new content.
When it has finished, you end up with a new index in a directory called
"building" in your collection directory. If you are doing this
manually from the command line, you need to manually move the "index"
directory out of the way and rename the "building" directory to "index".

This is explained in the user's manual in more detail.

John McPherson

p.s. there is no need to carbon-copy your question to both lists.