Google Drive Api not returning results by descending order of number of occurrences of word

前端 未结 1 665
悲&欢浪女
悲&欢浪女 2020-12-22 08:34

I am using Google Documents List API for searching within documents.
Searching on the google drive ui returns results with most number of occurences of words first. But

相关标签:
1条回答
  • 2020-12-22 09:32

    You can use the orderBy query parameter to order the Documents List Feed by certain criteria:

    • last-modified: Default value, sort by last modified date.
    • last-accessed: sort by last accessed date.
    • title: sort by title (this is what you're looking for.
    • starred: sort documents by their "starred" attribute.
    0 讨论(0)
提交回复
热议问题