System.out.println(search);
	public Search createSearch(SearchQuery searchQuery) {		List results = new ArrayList();		BasicSearch searcher = new BasicSearch();		searcher.setSearchName(getSearchName());		searcher.setSearchType(SEARCH_TYPE);		searcher.setSearchQuery(searchQuery);				try {			IWSlideSession session = (IWSlideSession) IBOLookup.getSessionInstance(IWContext.getInstance(), IWSlideSession.class);			String servletMapping = session.getWebdavServerURI();			SearchRequest s = new SearchRequest();			s.addSelection(DISPLAYNAME);			s.addSelection(LASTMODIFIED);			s.addScope(new SearchScope("files"));			String queryString = ((SimpleSearchQuery)searchQuery).getSimpleSearchQuery();			SearchExpression expression = s.contains(queryString);			s.setWhereExpression(expression);			String search = s.asString();			//System.out.println(search);			SearchMethod method = new SearchMethod(servletMapping, search);			HttpClient client = new HttpClient();			client.setState(new WebdavState());			HostConfiguration hostConfig = client.getHostConfiguration();			hostConfig.setHost(httpURL);				        Credentials hostCredentials = session.getUserCredentials();		        if (hostCredentials != null) {	            HttpState clientState = client.getState();	            clientState.setCredentials(null, httpURL.getHost(),hostCredentials);	            clientState.setAuthenticationPreemptive(true);	        }			        			        			int state = client.executeMethod(method);			System.out.println("State: " + state);//			Header[] headers = method.getResponseHeaders();//			for (int i = 0; i < headers.length; i++) {//				System.out.println(headers[i].toString());//			}			Enumeration enum = method.getAllResponseURLs();						while (enum.hasMoreElements()) {				String fileURI = (String) enum.nextElement();				if(!fileURI.equalsIgnoreCase(servletMapping)){					BasicSearchResult result = new BasicSearchResult();										result.setSearchResultType(SEARCH_TYPE);					result.setSearchResultURI(fileURI);					result.setSearchResultName(URLDecoder.decode(fileURI.substring(fileURI.lastIndexOf("/")+1)));					result.setSearchResultExtraInformation(URLDecoder.decode(fileURI.substring(0,fileURI.lastIndexOf("/")+1)));										results.add(result);				}			}						searcher.setSearchResults(results);		}