private static void searchAll() {
		try {
			Properties properties = new Properties();
			properties.load(new FileInputStream("config/database.properties"));
			String tablename = properties.getProperty("db.companytablename");
			
			g = new GoogleSearch(true);
			g.setDebugMode(true);
		    g.setThreadNum(2);
			
			ArrayList<Map<String,Object>> googleWebsiteTable = sqlHelper.executeQuery("select company_id,link from google_website", null);
			
			for(Map<String,Object> googleWebsiteRecord: googleWebsiteTable){
				System.out.println(googleWebsiteRecord.get("link"));
				processedCompanyMap.put(googleWebsiteRecord.get("company_id").toString(), "");
				linkMap.put(googleWebsiteRecord.get("link").toString(), "");
			}

			System.out.println("linkMap size:"+linkMap.size());
			
			ArrayList<Map<String,Object>> companyTable  = sqlHelper.executeQuery("select * from "+tablename,null);

			List<String> keywords = new ArrayList<String>();
			int count = 0;
			for(Map<String,Object> companyRecord: companyTable){
				  count++;
				  String name = companyRecord.get("company_name").toString();
				  Object website = companyRecord.get("website");
				  String id = companyRecord.get("id").toString();
				  if(processedCompanyMap.containsKey(id))continue;
				  if(website!=null&&!website.toString().trim().equals("")) continue;
				  idmap.put(name,id);
				  keywords.add(name);
				  
				  if(count>99){
				      search(keywords);
				      keywords.clear();
				      count = 0;
				  }
			}
		    search(keywords);
		      
	        System.exit(0);
	        
		} catch (Exception e) {
			e.printStackTrace();
		}
	}