Welcome to the new Box Support website. Check out all the details here on what’s changed.

Comments

2 comments

  • jcleblanc

    Hi ,

     

    With the search endpoint you'll be able to sort on a number of factors:

    • When content was created / updated
    • File size range
    • Content for specific users
    • Content within specific metadata templates (mdfilters)
    • Limits and offsets
    • etc. 

    If there are specific items that you'd like to see as search filters, the best thing to do would be to add a request to our Pulse page. This is where product feedback can be suggested, which will go to our platform PMs to be able to prioritize.

     

    Thanks,

    Jon

    0
    Comment actions Permalink
  • rtumminelli

    Hello,

     

    I am using the Java API to search for documents. It is very easy to do something very basic like this:

    searchParams.setSort("modified_at");
    searchParams.setDirection("DESC"); 

     to sort my search by modified date, as the example on GitHub shows. However, there is no documentation, as far as I can see, on how to do anything even slightly more complicated. For example, how would one even sort search results by document name? or a specific metadata field?

    0
    Comment actions Permalink

Please sign in to leave a comment.