Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 734 Bytes

search.md

File metadata and controls

27 lines (20 loc) · 734 Bytes

Search

Basic Search

Calling search(String) on a folder will recursively search the folder and its children. To search the user's entire account, simply search their root folder.

BoxFolder rootFolder = BoxFolder.getRootFolder(api);
Iterable<BoxItem.Info> results = rootFolder.search("my query");
for (BoxItem.Info result : results) {
    // Do something with the search result.
}

Advanced Search

Advanced is not yet implemented, but is coming soon.