code: @Deprecated
      public Iterable<BoxItem.Info> search(final String query) {
          return new Iterable<BoxItem.Info>() {
              @Override
              public Iterator<BoxItem.Info> iterator() {
                  QueryStringBuilder builder = new QueryStringBuilder();
                  builder.appendParam("query", query);
                  builder.appendParam("ancestor_folder_ids", getID());
  
                  URL url = SEARCH_URL_TEMPLATE.buildWithQuery(getAPI().getBaseURL(), builder.toString());
                  return new BoxItemIterator(getAPI(), url);
              }
          };
      }
docs: This method is deprecated, please use the {@link BoxSearch} class instead.
  Searches this folder and all descendant folders using a given queryPlease use BoxSearch Instead.
  
  @param query the search query.
  @return an Iterable containing the search results.