private static void search(List<String> keywords) throws SQLException {
		g.setKeywords(keywords);
		try {
			g.search();
		} catch (InterruptedException e1) {
			e1.printStackTrace();
		}
		String [] insertSqls = new String[200] ;
		int i = 0;
		for(String key : g.getSearchResult().keySet()){
			for ( SearchResult s : g.getSearchResult().get(key)){
				String text = s.getText().replace("'"," ");
				String url = s.getLink();
				String host = null;
				try {
					URL aURL = new URL(url);
					host = aURL.getHost();
					if(host==null||linkMap.containsKey(host)) continue;
				} catch (MalformedURLException e) {
					continue;
				}
				String id = idmap.get(key);
				insertSqls[i] = "INSERT INTO google_website (company_name,company_id ,link,link_text) VALUES "
							         + "('"+key+"','" +id+ "','"+host+"','"+text+"')" ;
				i++;
			}
		}
		if(insertSqls.length>0)
				sqlHelper.executeUpdate(insertSqls, null);

	}