code: @NonNull
      public Searcher search(@Nullable final Intent intent) {
          String query = null;
          Object origin = null;
          if (intent != null) {
              if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
                  query = intent.hasExtra(SearchManager.QUERY) ?
                          intent.getStringExtra(SearchManager.QUERY) : intent.getDataString();
                  origin = intent;
              }
          }
          return search(query, origin);
      }
docs: Starts a search, with the given intent's query if it is a {@link Intent#ACTION_SEARCH search intent}.
  
  @param intent an Intent that could contain a {@link SearchManager#QUERY QUERY}.
  @return this {@link Searcher} for chaining.