/** * Search datasets containing provided text in the metadata * * @param text The query string * @param limit maximum results to return * @param offset search begins from offset. Starts from 0, so that offset 0 limit 1 returns * exactly 1 result, if there is a matching dataset) * @throws JackanException on error */ public synchronized SearchResults<CkanDataset> searchDatasets( String text, int limit, int offset) { return searchDatasets(CkanQuery.filter().byText(text), limit, offset); }