The Search component is called from ViewRecords, a method in the SQLXML component. ViewRecords examines the QueryString property of the Request object, in which the search variable contains the search criteria the user enters. The following code fragment from ViewRecords shows how to identify a full-text search and how to use a public property interface to access the Search component:
search = oRequest.QueryString("search")
If Not (search = "" Or IsEmpty(search)) Then
Set oSearch = CreateInstance("LitWare.Search")
oSearch.SearchType = ftsContains
oSearch.SearchString = search
qryString = qryString & " WHERE CONTAINS(t.*,N'" & oSearch.SearchString & "')"
End If