new InputStreamReader(System.in));
String queryString = br.readLine();
Directory fsDir = FSDirectory.open(indexDir);
IndexSearcher searcher = new IndexSearcher(fsDir);
searcher.setSimilarity(new ESASimilarity());
QueryParser parser = new QueryParser(Version.LUCENE_CURRENT, "contents",new WikipediaAnalyzer());
long sTime,eTime;
System.out.println("searching for: " + queryString);