IsSorted (NotesDocumentCollection - LotusScript®)

Read-only. Indicates whether the documents in a collection are sorted. A collection is sorted only when it results from a full-text search of a database.

Defined in

NotesDocumentCollection

Data type

Boolean

Syntax

To get: flag = notesDocumentCollection .IsSorted

Legal values

  • True indicates that the documents in the collection are sorted
  • False indicates that the documents in the collection are not sorted

Usage

When a collection is sorted, the documents are sorted by relevance score with the most-relevant document appearing first. A relevance score is a number assigned to each document that matches a particular full-text search query. The number is related to the number of matches that were found in the document.

Example