I am using the NotesRegistration class to create new users and I have set the MailCreateFTIndex to True but it isn’t creating the Full Text Index on the mail files when using the RegisterNewUser method.
Is there another option I should be setting for the FTIs to be created?
Is there another method I can use to create the FTI on the mail files via LotusScript if the MailCreateFTIndex doesn’t work? I know about the @Command([FileFullTextCreate]) option but don’t want to use this as it requires interaction from the user.
Subject: NotesRegistration class and MailCreateFTIndex
Hi,
notesDatabase.CreateFTIndex( options& , recreate ) does exactly what you are looking for. Think about a scheduled maintenance agent that runs maybe once a week and recreates the full text index of all mail databases on a server. That may be a good idea since full text indices tend to get unnecessarily big or even corrupted over time. Recreating indices from time to time helps against this.
Best regards
Mario Varchmin
http://www.e-llennium.com/e-llennium/index_en.htm
Subject: RE: NotesRegistration class and MailCreateFTIndex
Thanks for the info, I had looked through the NotesDatabase class but didn’t see the CreateFTIndex method. Need to get my eyes tested.
Subject: NotesRegistration class and MailCreateFTIndex
You mean the CreateFTIndex method in the NotesDatabase class perhaps?It requires - naturally - the database to exist though.