|
To update the full text index, you need to have at least Designer access to the database. You can set the full text indexing to Immediate, and the server will reindex the database shortly after documents are created or modified, depending on the indexing load on the server. You can update the full text index using LotusScript. The following example comes from the help document entitled "LastFTIndexed property."
This script checks if the current database has been modified since the time it was last full-text indexed. If so, it updates the index.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
If ( db.LastModified > db.LastFTIndexed )
Then
Call db.UpdateFTIndex( False )
End If
Do you have comments on this Ask the Expert Q&A? Let us know.
|