IsSorted (DocumentCollection - Java™)
Read-only. Indicates whether the documents in a collection are sorted. A collection is sorted only when it results from a full-text search.
Defined in
Data type
boolean
Syntax
public boolean isSorted()
throws NotesException
Legal values
- true if the collection is sorted
- false if the collection is 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.