package config;

public class config_ {
	
	//chang your direction of the date here.
	public static String posts_dir="G:/corpus/corpus_SO/stackoverflow/Posts.XML"; //源文件
	public static String indexPath_posts= "G:/corpus/corpus_SO/stackoverflow/index/posts"; //索引文件
	
	public static String IDsLinks_dir= "G:/corpus/corpus_SO/stackoverflow/IDsLinks.txt"; //索引文件
	//test
//	public static String posts_dir="C:/code_nlm/test/post_test.xml"; 
//	public static String indexPath_posts= "C:/code_nlm/test/index";
}

package config;

public class config_ {
	
	//chang your directory of the date here.
	// for example: the Post.xml in the file "data"
	// then the directory path will be
	// public static String posts_dir="./data/Posts.XML";
	
	public static String posts_dir="G:/corpus/corpus_SO/stackoverflow/Posts.XML"; //源文件
	public static String indexPath_posts= "G:/corpus/corpus_SO/stackoverflow/index/posts"; //索引文件
	
	public static String IDsLinks_dir= "G:/corpus/corpus_SO/stackoverflow/IDsLinks.txt"; //索引文件
	//test
//	public static String posts_dir="C:/code_nlm/test/post_test.xml"; 
//	public static String indexPath_posts= "C:/code_nlm/test/index";
}

Update config_.java