Create index using Lotus Script

I have creating a database on the fly using Lotus Script. Is it possible to create an index for the documents in the database as well, so that it is searchable??

Please advice.

Subject: Create index using Lotus Script

Consider creating a database on the fly from a template - then Yes; this can be done from LotusScript.

Take a look at the methods .Create and .CreateFromTemplate in the NotesDatabase class.

Then to enable the Fulltext-index; call the .UpdateFTIndex method in the NotesDatabase class.

hth