This object can be specify the sort of results.
...
Table of Contents |
---|
STRUCTURE
Code Block |
---|
{ "key":"DocumentId", // Type of sort "ascending":true // The sort direction is "ascending" } |
Available values
- ascending
- true
- false
- key
- SegmentId
- DocumentId
- BeeSegmentId
- Label
- Score
- Text
- LastModification
- Bookmark
- Status
- LastEditor
Sort by Segment Id
The doc
Code Block |
---|
{ "key":"SegmentId", // Sort by segment id "ascending":true // The sort direction is "ascending" } |
Sort by Document Id
The doc
Code Block |
---|
{ "key":"DocumentId", // Type of sort Sort by document id "ascending":true // The sort direction is "ascending" } |
Sort by BeeSegmentId
The doc
Code Block |
---|
{
"key":"BeeSegmentId", // Sort by BeeSegmentId
"ascending":true // The sort direction is "ascending"
} |
key | Description |
---|---|
0 | DocumentId |
1 | SegmentId |
2 | BeeSegmentId |
3 | Label |
4 | Score |
5 | Text |
6 | LastModification |
7 | Bookmark |
8 | Status |
9 | LastEditor |
...
Sort by Label
The doc
Code Block |
---|
{
"key":"Label", // Sort by label
"ascending":true // The sort direction is "ascending"
} |
Sort by Score
The doc
Code Block |
---|
{
"key":"Score", // Sort by score
"ascending":true // The sort direction is "ascending"
} |
Sort by Text
The doc
Code Block |
---|
{
"key":"Text", // Sort by text
"ascending":true // The sort direction is "ascending"
} |
Sort by LastModification
The doc
Code Block |
---|
{
"key":"LastModification", // Last Modification
"ascending":false // The sort direction is "descending"
} |
Sort by Bookmark
The doc
Code Block |
---|
{
"key":"Bookmark", // Sort by bookmark
"ascending":true // The sort direction is "ascending"
} |
Sort by Status
The doc
Code Block |
---|
{
"key":"Status", // Sort by status
"ascending":true // The sort direction is "ascending"
} |
Sort by LastEditor
The doc
Code Block |
---|
{
"key":"LastEditor", // Sort by LastEditor
"ascending":true // The sort direction is "ascending"
} |