Query Sort (Object)

This object can be specify the sort of results.

STRUCTURE

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

{
 "key":"SegmentId", // Sort by segment id
 "ascending":true // The sort direction is "ascending"
}

 

Sort by Document Id

The doc

{
 "key":"DocumentId", // Sort by document id
 "ascending":true // The sort direction is "ascending"
}

 

Sort by BeeSegmentId

The doc

{
 "key":"BeeSegmentId", // Sort by BeeSegmentId
 "ascending":true // The sort direction is "ascending"
}

 

Sort by Label

The doc

{
 "key":"Label", // Sort by label
 "ascending":true // The sort direction is "ascending"
}

 

Sort by Score

The doc

{
 "key":"Score", // Sort by score
 "ascending":true // The sort direction is "ascending"
}

 

Sort by Text

The doc

{
 "key":"Text", // Sort by text
 "ascending":true // The sort direction is "ascending"
}

 

Sort by LastModification

The doc

{
 "key":"LastModification", // Last Modification
 "ascending":false // The sort direction is "descending"
}

 

Sort by Bookmark

The doc

{
 "key":"Bookmark", // Sort by bookmark
 "ascending":true // The sort direction is "ascending"
}



Sort by Status

The doc

{
 "key":"Status", // Sort by status
 "ascending":true // The sort direction is "ascending"
}


Sort by LastEditor

The doc

{
 "key":"LastEditor", // Sort by LastEditor
 "ascending":true // The sort direction is "ascending"
}

Copyright Wordbee - Buzzin' Outside the Box since 2008