query | String The full-text query. |
max | String Optional.The maximum number of results you want returned from the query. Set this parameter to 0 to receive all matching results. |
sortopt | String Optional. If used, otheropt must also be used. Use one of the following constants to specify a sorting option: FT_SCORES - (default) sorts by relevance score. When the collection is sorted by relevance, the highest relevance appears first. To access the relevance score of each document in the collection, use the FTSearchScore property in returned Documents. FT_DATE_DES - sorts by document creation date in descending order. FT_DATE_ASC - sorts by document creation date in ascending order. |
otheropt | String Use the following constants to specify additional search options. To specify more than one option, use a logical or operation: # FT_DATABASE - includes Domino databases in the search scope. FT_FILESYSTEM - includes files other than Domino databases in the search scope. FT_FUZZY - specifies a fuzzy search. FT_STEMS - uses stem words as the basis of the search. |
documentCollection | DocumentCollection A collection of documents that match the full-text query, sorted by the selected option. If no matches are found, the collection has a count of 0. |