try
{
DavSearch davSearch = new DavSearch(config.getContext());
davSearch.setResourcePath("/");
SQLQuery sqlQuery = new SQLQuery();
sqlQuery.setQuery("select * from nt:base where contains(*, '" + searchContent + "')");
davSearch.setQuery(sqlQuery);
int status = davSearch.execute();