|
|
|
FTSearch method Conducts a full text search of all the documents in a Notes database collection, and reduces the collection to those documents that match. Defined in NotesDocumentCollection Syntax Call notesDocumentCollection.FTSearch( query$, maxDocs% ) Parameters query$ Usage The collection of documents that match the full-text query are sorted by relevance with highest relevance first. You can access the relevance score of each document in the collection using the FTSearchScore property in NotesDocument. If the database is not full text indexed, this method works, but less efficiently. To test for an index, use the IsFTIndexed property. To create an index on a local database, use the UpdateFTIndex method. This method searches all of the documents in a document collection--to search all of the documents in a database, use the FTSearch method in NotesDatabase, and to search only documents found in a particular view, use the FTSearch method in NotesView. Query syntax The syntax rules for a search query are as follows. Use parentheses to override precedence and to group operations.
|
|
|