GLI is setup to always rebuild the entire collection.
Collection building comes in two stages, importing and building.
Importing takes source documents and converts them to Greenstone
internal XML format, building creates the indexes and browsing
structures. Building is not incremental so this stage always needs to be
done over the entire collection.
It is possible just to import only the new documents, but not using GLI.
You would need to use command line building (see developers guide).
import.pl will import all the documents in the import directory. If you
just have the new documents in there, running import.pl (with no
-removeold) will import the new documents into archives, alongside the
existing archives. Then you run buildcol.pl to do the building part over
the entire archives.
The easiest thing is just to use GLI and have it reimport and rebuild
the entire collection.
Raitis Brodezhonok wrote:
> Hi, Greenstone experts!
> I am using Win98 and GLI 2.5.1.
> I have created for test purpose one file collection by GLI.
> After that I tried to add one file more into existing collection.
> In the Gather pain I just drag-and-drop one file into the Collection pain.
> After Enriching by metadate I went to Create pain.
> There, in the Import options i switched off the -removeold option and
> ran Build
> collection. In the Message log window I observed that Import process
> always setup -removeold option even if i have switched off it( if it is not
> the first building of collection). Does it mean, that GLI is designed to
> rebuild collection from 'the scratch' even one additional file is going
> to be
> added? Is it possible to add one new file into existing collection without
> rebuild all collection from the beginning?
> Best regards,
> The new MSN 8: smart spam protection and 2 months FREE*
> greenstone-users mailing list