private void startSearch(String search, int searchType, int pn) {
		if (searchType == BaseParser.GOOGLE)
			LOG.error("this is google search");
		else if (searchType == BaseParser.BAIDU)
			LOG.error("this is baidu search");

		Thread threads[] = new Thread[2 * pn];
		for (int i = 0; i < 2 * pn; i++) {
			LOG.error("i:" + i);
			threads[i] = new JoinThread(search, searchType, i);
		}
		for (int i = 0; i < 2 * pn; i++) {
			// 运行刚才建立的100个线程
			threads[i].start();
		}
		for (int i = 0; i < 2 * pn; i++) {
			// 100个线程都执行完后继续
			try {
				threads[i].join();
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		// return JoinThread.results;
	}