Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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"
}

 

 

keyDescription
0DocumentId
1SegmentId
2BeeSegmentId
3Label
4Score
5Text
6LastModification
7Bookmark
8Status
9LastEditor

 

 

...

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"
}