Full Text Index your database, then use some code like this to get your collection (which might be just one doc)2 examples illustrated within this snippet… view search and db search… notes designs the database for efficient full text searching.
Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.currentdatabase
Dim coll As NotesDocumentCollection
Dim colldoc As NotesDocument
'Dim view as NotesView
'Set view = db.GetView(“EBM”)
lookup = “Major Tom”
'query = |(FIELD FORM CONTAINS “Document”) AND (FIELD First_Name CONTAINS “| + lookup + |”)|
In my opinion the same result can be obtained by using DB.Search instead of doing Db.FTsearch or view.FTsearch as both requires database to be full text indexed.
Also, if index is not updated the search won’t yield accurate results.