@NonNull
    public Searcher setQuery(@NonNull Query query) {
        this.query = query;
        this.query.setPage(0);
        return this;
    }
@ NonNull public Searcher setQuery ( @ NonNull Query query ) { this . query = query ; this . query . setPage ( 0 ) ; return this ; }
Takes the given query's parameters for following search queries.
<p>
<b>This method resets the current page to 0.</b>

@param query a {@link Query} object with some parameters set.
@return this {@link Searcher} for chaining.