Examples: FTSearch method (NotesViewEntryCollection - LotusScript®)

This script does a full-text search of all the entries in the view entry collection and places the results in a folder called Search Results.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Books")
Call vc.FTSearch("Best Sellers", 10)
Call vc.PutAllInFolder("Search Results")